0 Replies Latest reply on Apr 6, 2012 4:41 AM by mglowacki

    Infinispan in session bean on JBoss 5.1

    mglowacki

      hi,

       

        as step of migration to JBoss 7, I want first to migrate from JBoss Cache to Infinispan. As you might know, there is libraries version problem between what JBoss 5.1 got and what Infinispan uses. Therefore I needed to include newer versions in lib directory of my WARs to get Infinispan working. I cannot make same trick with my session beans (it's separate EJB-JAR file, as multiple WARs are using it). The problem is, I don't know how to 'tell' this JAR should use different libs (not the ones from AS).

       

        I tried to put all into EAR, however that is changing JNDI names of the beans and escalates the number of changes.

       

      Could anyone let me know how to do it best way?

       

      Thanks,

      Michal