-
1. Re: Infinispan on AS 4.2.3
manik Feb 4, 2010 2:05 PM (in response to prabhat.jha)Do you plan to use this in clustered mode or in standalone mode? I foresee a clash in JGroups jars if the former... :/ -
2. Re: Infinispan on AS 4.2.3
manik Feb 4, 2010 2:08 PM (in response to manik)1 of 1 people found this helpfulTo clarify a bit more, I'm not sure if you can upgrade AS 4.x to use JGroups 2.9.x (which is what Infinispan needs) since there were some incompatibilities introduced in JGroups 2.8. Not sure if these have been resolved in 2.9, but a simple swap of JGroups jars in a standard AS4 build would tell you.
Oh, and Infinispan is baselined on JDK 6, not sure if that affects what you are doing.
-
3. Re: Infinispan on AS 4.2.3
prabhat.jha Feb 4, 2010 2:10 PM (in response to manik)I would say both. In non-clustered configuration, JBP uses ehcache with hibernate but in clustered, it uses jboss cache with hibernate.
If I update jgroups across the server to match infinispan's need, will there still be a problem?
-
4. Re: Infinispan on AS 4.2.3
prabhat.jha Feb 4, 2010 3:13 PM (in response to manik)I think we cross-posted a bit. ;-)
jkd6 is not a problem as AS 4.2.3 has both jdk5 and jdk6 flavors. Let me give it a shot.
-
5. Re: Infinispan on AS 4.2.3
manik Feb 5, 2010 6:28 AM (in response to prabhat.jha)prabhat.jha@jboss.com wrote:
I would say both. In non-clustered configuration, JBP uses ehcache with hibernate but in clustered, it uses jboss cache with hibernate.
If I update jgroups across the server to match infinispan's need, will there still be a problem?
So this would let you use Infinispan for both clustered and non-clustered cases. Fewer moving parts, etc. (If you are concerned about Infinispan's non-clustered performance, see http://infinispan.blogspot.com/2010/02/infinispan-as-local-cache.html).
My concern is whether JGroups 2.9.0 will break the rest of AS4's clustering if you replace jars en-masse. Something you will have to try out and hopefully report back/maybe write an FAQ or wiki page about Infinispan + AS 4.x.
-
6. Re: Infinispan on AS 4.2.3
galder.zamarreno Feb 10, 2010 4:00 AM (in response to manik)On top of all this, as explained to Prabhat on a private email, the Infinispan 2nd level cache provider has only been tested against Hibernate 3.5 and JBP in 4.3 uses Hibernate 3.2. So, you'd have to verify whether you can swap the Hibernate version as well! And this is before you get into clustering it and dealing with JGroups issues. -
7. Re: Infinispan on AS 4.2.3
prabhat.jha Feb 15, 2010 4:53 PM (in response to galder.zamarreno)So my use case is JBoss Portal and the first step logically seemed to make sure that portal works with hibernate 3.5 first. Simply updating hibernate3.jar in server/default/lib threw some exceptions. Let me see if there is an easy fix for that then proceed to the next step.