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

    using transaction and missing jbossts-properties.xml file

    Yair Ogen Expert

      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:







      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.