9 Replies Latest reply on Jul 2, 2013 4:54 AM by rhanus

    CDI 1.0 Activate @Alternatives in antoher jar.

    suikast42

      Hi guys,

       

      I try use configure deltaspike-jpa module with JTA Transaction. Deltaspkie have a TransactionInterceptor which using by default a ResourceLocalStrategy ( for JPA in SE environment ). In the same jar it have two alternatives for Transactionstrategies. And I must activate it from

      outside of this Jar.

       

      My app packaging:

        ear

           war

           ejb's

              producer for Entitymanager

           lib

              deltaspike modules

       

      I try to add deltaspike in classpath of the manifest but this still not work.

       

      My env:

           Java 7 u 17

           Jboss 7.2.0.Final

       

      Thanks in advance.