Skip to content

Commit

Permalink
Rely on a full version of arjuna-properties.xml
Browse files Browse the repository at this point in the history
Which obviates the related section in the transactions guide.
  • Loading branch information
tobias committed Apr 8, 2015
1 parent 3e76930 commit 11218ed
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
14 changes: 0 additions & 14 deletions docs/guides/transactions.md
Expand Up @@ -142,20 +142,6 @@ turn those calls into no-ops. This means the database spec you pass to
:name "java:jboss/datasources/ExampleDS"})
```

## Transactions from an Uberjar

Narayana relies on a configuration file embedded within its
distribution jar for much of its default behavior. The name of this
file is specified as an attribute within the `MANIFEST.MF` of that
same jar. When you include it in your uberjar (transitively, by
depending on `org.immutant/transactions`), this manifest attribute is
lost.

The file, `jbossts-properties.xml`, will be in your uberjar, but
without the manifest attribute, it won't be used. See
[the Narayana install guide](http://docs.jboss.org/jbosstm/latest/guides/narayana-jta-installation_guide/index.html#chap-JBossJTA_Installation_Guide-Test_Chapter)
for more details.

[immutant.transactions]: immutant.transactions.html
[Narayana]: http://www.jboss.org/narayana
[Infinispan]: http://infinispan.org
Expand Down
2 changes: 1 addition & 1 deletion project.clj
Expand Up @@ -91,7 +91,7 @@
clj-http "1.0.1"

;; org.projectodd.wunderboss "0.4.1"
org.projectodd.wunderboss "1.x.incremental.226"
org.projectodd.wunderboss "1.x.incremental.227"
;; org.projectodd.wunderboss "0.5.1-SNAPSHOT"

org.immutant :version
Expand Down

0 comments on commit 11218ed

Please sign in to comment.