Use java:comp/TransactionManager or openejb:Resource/{resource or txmgr id in tomee.xml}
In spring you can also use org.apache.openejb.OpenEJB.getTransactionManager() returned value - it is a static method so configurable in appctx.xml Le 13 août 2016 14:43, "sureshshine" <sureshselvamj...@gmail.com> a écrit : > Hi All, > > I tired to configure JTA transaction manager in tomee plume and below is my > configuration > > tomee.xml > > <TransactionManager id="transactionManager" type="TransactionManager"> > adler32Checksum = true > bufferSizeKb = 32 > checksumEnabled = true > defaultTransactionTimeout = 10 minutes > flushSleepTime = 50 Milliseconds > logFileDir = txlog > logFileExt = log > logFileName = howl > maxBlocksPerFile = -1 > maxBuffers = 0 > maxLogFiles = 2 > minBuffers = 4 > threadsWaitingForceThreshold = -1 > txRecovery = false > </TransactionManager> > > Spring Configuration File > > <bean id="globalTransactionManager" > class="org.springframework.transaction.jta.JtaTransactionManager"> > <property name="transactionManagerName" > ref="transactionManager"></property> > > I know the configuration is wrong but I am not sure how to configured the > JTA based transaction in Tomee Plume. > > Thanks in Advance. > > > > > -- > View this message in context: http://tomee-openejb.979440. > n4.nabble.com/JTA-Transcation-Manager-configuration-in- > Tomee-tp4679716.html > Sent from the TomEE Dev mailing list archive at Nabble.com. >