3 Replies Latest reply on Mar 27, 2015 5:45 AM by rvansa

    using transaction and missing jbossts-properties.xml file

    yairogen

      I am using infinispan in a standalone (non JEE) server.

       

      I am building the cache like this in the ConfigurationBuilder:

       

      transaction().transactionManagerLookup(new JBossStandaloneJTAManagerLookup()).transactionMode(TransactionMode.TRANSACTIONAL).lockingMode(LockingMode.PESSIMISTIC)

       

      I added this dependency so I can use the JBossStandaloneJTAManagerLookup:

       

      <dependency>

         <groupId>org.jboss.narayana.jta</groupId>

         <artifactId>jta</artifactId>

         <version>5.0.1.Final</version>

      </dependency>


      but trying to actually use this fails on:


      java.lang.RuntimeException: java.lang.RuntimeException: missing property file jbossts-properties.xml


      I found nothing in the user guide about this file where to put it and how to use it.


      Please advise.