Announcement Announcement Module
Collapse
No announcement yet.
No JTA TransactionManager found Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • No JTA TransactionManager found

    Hi Folks,

    I am using Geronimo with WASCE. I have deployed a simple spring web application with transactions on WASCE. i have configured the Transaction manager as JTATrasactionManger. Following is the configuration.

    <beans>
    <bean id="userTransaction" class="org.springframework.jndi.JndiObjectFactoryB ean">
    <property name="jndiName">
    <value>java:comp/UserTransaction</value>
    </property>
    </bean>

    <bean id="transactionManager" class="org.springframework.transaction.jta.JtaTran sactionManager">
    <property name="autodetectTransactionManager" value="true"/>
    <constructor-arg>
    <ref local="userTransaction" />
    </constructor-arg >
    </bean>

    <bean id="accountManager" class="com.anfcorp.spring.test.DefaultAccountManag er"/>
    <bean id="accountManager1"
    class="org.springframework.transaction.interceptor .TransactionProxyFactoryBean">
    <property name="transactionManager">
    <ref bean="transactionManager"/></property>
    <property name="target"><ref local="accountManager"/></property>
    <property name="transactionAttributes">
    <props>
    <prop key="inseerert*">
    PROPAGATION_REQUIRED, ISOLATION_READ_COMMITTED</prop>
    <prop key="transfer*">
    PROPAGATION_REQUIRED, ISOLATION_SERIALIZABLE</prop>
    <prop key="deposit*">
    PROPAGATION_REQUIRED, ISOLATION_READ_COMMITTED</prop>
    </props>
    </property>
    </bean>
    </beans>


    But when i read the configuration file i get warning showing following message.
    "13:32:03,934 WARN [JtaTransactionManager] No JTA TransactionManager found: transaction suspension and synchronization with existing JTA transactions not available"

    Do i need to configure anything else to work in WASCE?

    Thanks,
    Srikanth
Working...
X