1 Reply Latest reply on May 6, 2014 8:58 PM by ffang

    Spring-tx with 2.10.0.redhat-60024 and 2.12.0.redhat-610379

    rvashishth

      I am using spring-tx jar for my apache dbcp basic data source. I have added the spring-tx jar into my esb project bundle pom file. It was successful when i used it with redhat version

      2.12.0.redhat-610379(which is we are still migrating on). But when i tried it with the previous 2.10.0.redhat-60024, it wasnt able to start the camel-context and failed with -

       

      java.lang.ClassNotFoundException: org.springframework.aop.framework.AbstractAdvisingBeanPostProcessor

       

      And to solve above issue i added the spring-aop jar and it worked fine.

       

      Is this a know issue with 2.10.0.redhat-60024, that if we use spring-tx we have to add spring-aop.

        • 1. Re: Spring-tx with 2.10.0.redhat-60024 and 2.12.0.redhat-610379
          ffang

          Hi,

           

          I'd say spring-aop bundle is very fundamental for spring, so the basic spring feature already include this bundle. If you use

          features:install spring-tx, you have spring-aop bundle installed OOTB for you, this is the case for both JBoss FUSE 6.0 and 6.1.

           

          So yes, you should have spring-aop when you use spring-tx.

           

          Freeman