Thanks for you reply ..

I tried to  <TransactionManager id="transactionManager"
type="java:comp/TransactionManager"> and I got the below exception 

 org.apache.openejb.config.NoSuchProviderException: Cannot determine a
provider for TransactionManager(id=transactionManager,
type=java:comp/TransactionManager, provider=null).

Possible valid configurations might be: 
  <TransactionManager id="transactionManager" type="TransactionManager"/>
        at
org.apache.openejb.config.ConfigurationFactory.getServiceProvider(ConfigurationFactory.java:1324)
        at
org.apache.openejb.config.ConfigurationFactory.configureService(ConfigurationFactory.java:1179)
        at
org.apache.openejb.config.ConfigurationFactory.getOpenEjbConfiguration(ConfigurationFactory.java:514)
        at
org.apache.openejb.config.ConfigurationFactory.getOpenEjbConfiguration(ConfigurationFactory.java:629)
        at
org.apache.openejb.assembler.classic.Assembler.getOpenEjbConfiguration(Assembler.java:503)
        at 
org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:482)
        at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:150)
        at org.apache.openejb.OpenEJB.init(OpenEJB.java:307)
        at 
org.apache.tomee.catalina.TomcatLoader.initialize(TomcatLoader.java:247)
        at
org.apache.tomee.catalina.ServerListener.lifecycleEvent(ServerListener.java:168)
        at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94)
        at
org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
        at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:115)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:606)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:629)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:311)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:494)

Spring Context file as below 

<bean id="GlobalDataTransactionManager"
class="org.springframework.transaction.jta.JtaTransactionManager"/>

Please help me to proceed further.

Thanks much




--
View this message in context: 
http://tomee-openejb.979440.n4.nabble.com/JTA-Transcation-Manager-configuration-in-Tomee-tp4679716p4679753.html
Sent from the TomEE Dev mailing list archive at Nabble.com.

Reply via email to