Skip to content

Commit

Permalink
Don't provide a properties file, force the default to be used in all …
Browse files Browse the repository at this point in the history
…cases instead.
  • Loading branch information
tobias committed Apr 9, 2015
1 parent bdbd9fd commit 30c4a21
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 27 deletions.
Expand Up @@ -94,6 +94,12 @@ public String name() {

@Override
public synchronized TransactionManager manager() {
// jbossts-properties.xml won't be loaded in an uberjar
// without this - see JBTM-2357
String propName = "com.arjuna.ats.arjuna.common.propertiesFile";
if (System.getProperty(propName) == null) {
System.setProperty(propName, "jbossts-properties.xml");
}
if (this.manager == null) {
this.manager = com.arjuna.ats.jta.TransactionManager.transactionManager();
}
Expand Down
27 changes: 0 additions & 27 deletions modules/transactions/src/main/resources/arjuna-properties.xml

This file was deleted.

0 comments on commit 30c4a21

Please sign in to comment.