[jboss-svn-commits] JBL Code SVN: r16436 - in labs/jbosstm/trunk/XTS/sar: src/org/jboss/transactions and 1 other directory.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Thu Nov 8 10:06:20 EST 2007
Author: jhalliday
Date: 2007-11-08 10:06:20 -0500 (Thu, 08 Nov 2007)
New Revision: 16436
Modified:
labs/jbosstm/trunk/XTS/sar/build.xml
labs/jbosstm/trunk/XTS/sar/src/org/jboss/transactions/XTSService.java
Log:
Commented out recovery config in XTSService as it needs bits that are not ready yet.
Modified: labs/jbosstm/trunk/XTS/sar/build.xml
===================================================================
--- labs/jbosstm/trunk/XTS/sar/build.xml 2007-11-08 14:15:39 UTC (rev 16435)
+++ labs/jbosstm/trunk/XTS/sar/build.xml 2007-11-08 15:06:20 UTC (rev 16436)
@@ -87,4 +87,8 @@
</jar>
</target>
+ <target name="deploy" depends="sar">
+ <copy file="${build.dir}/jbossxts.sar" todir="${jbossas.home}/server/default/deploy"/>
+ </target>
+
</project>
Modified: labs/jbosstm/trunk/XTS/sar/src/org/jboss/transactions/XTSService.java
===================================================================
--- labs/jbosstm/trunk/XTS/sar/src/org/jboss/transactions/XTSService.java 2007-11-08 14:15:39 UTC (rev 16435)
+++ labs/jbosstm/trunk/XTS/sar/src/org/jboss/transactions/XTSService.java 2007-11-08 15:06:20 UTC (rev 16436)
@@ -104,18 +104,6 @@
{
getLog().info("JBossTS XTS Transaction Service - starting");
- InputStream inputStream = Thread.currentThread().getContextClassLoader().getResourceAsStream("/jjh.properties");
- if(inputStream != null) {
- System.out.println("jjh found it (sar).");
- }
-
- InputStream inputStream2 = this.getClass().getResourceAsStream("/jjh.properties");
- if(inputStream2 != null) {
- System.out.println("jjh found it (sar) local.");
- }
-
-
-
// read unified properties file (replaces wscf.xml and wstx.xml)
Configuration.initialise("/jbossxts.xml");
@@ -155,10 +143,10 @@
WSTXInitialisation(); // com.arjuna.mw.wst.deploy.WSTXInitialisation : Initialise WSTX
- ACCoordinatorRecoveryModule acCoordinatorRecoveryModule = new ACCoordinatorRecoveryModule();
+ //ACCoordinatorRecoveryModule acCoordinatorRecoveryModule = new ACCoordinatorRecoveryModule();
// we assume the tx manager has started, hence initializing the recovery manager.
// to guarantee this our mbean should depend on the tx mgr mbean. (but does that g/tee start or just load?)
- RecoveryManager.manager().addModule(acCoordinatorRecoveryModule); // TODO thread safety.
+ //RecoveryManager.manager().addModule(acCoordinatorRecoveryModule); // TODO thread safety.
}
More information about the jboss-svn-commits
mailing list