Skip to content

Commit

Permalink
Add a note about directory turds (dirds)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcrossley3 committed Apr 13, 2015
1 parent 1b8b8f4 commit 27b4d8a
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions docs/guides/transactions.md
Expand Up @@ -142,6 +142,26 @@ turn those calls into no-ops. This means the database spec you pass to
:name "java:jboss/datasources/ExampleDS"})
```

## Transaction Configuration

Narayana will look for a configuration file on the classpath called
`jbossts-properties.xml`. There is a default one embedded within its
distribution jar that you can use as a basis for your own.

One of the properties, in particular, has an annoying default value.
The location of the persistent object store is `PutObjectStoreDirHere`
by default. This can be overridden with the following system property
if you'd prefer not to create the XML file:

"-DObjectStoreEnvironmentBean.objectStoreDir=target/ObjectStore"

The "now obsolete but somewhat equivalent and occasionally still
relevant" analog to the above is this:

"-Dcom.arjuna.ats.arjuna.objectstore.objectStoreDir=target/ObjectStore"

So you may need to set them both.

[immutant.transactions]: immutant.transactions.html
[Narayana]: http://www.jboss.org/narayana
[Infinispan]: http://infinispan.org
Expand Down

0 comments on commit 27b4d8a

Please sign in to comment.