2 Replies Latest reply on Apr 18, 2008 3:23 AM by tnine

    Integrating java:/TransactionManager and Spring with MDB on

    tnine Newbie

      Hi all,
      I'm getting a very strange problem with Jboss 4.2.2GA and Spring 2.5.3. I have the following in my spring context.

      <tx:jta-transaction-manager />

      Using this setup (same implementation class, JTATransactionManager, different tag) is recommended here.


      However, I'm getting this exception.

      org.springframework.jndi.TypeMismatchNamingException: Object of type [class com.arjuna.ats.jbossatx.jta.TransactionManagerDelegate] available at JNDI location [java:/TransactionManager] is not assignable to [javax.transaction.TransactionManager]

      According to this jboss doc, the JNDI location java:/TransactionManager should be an instance of javax.transaction.TransactionManager. Any ideas why I'm getting this exception? This transactionmanager integration worked perfectly on 4.0.5