Hello, are you asking about Infinispan or JBoss Data Grid?
Technically there is no reason for it to not work on Websphere - besides obviously the integration being more complex - but if you're asking what version is supported and certified I'd suggest to get in touch with professional support. I'm happy to ask someone to look here if that's what you're looking for.
Thanks for your response.
Infinispan is what our system is using.
I would now like to try and embed the Infinispan into WAS 8.5.
A couple of things that you might help me with.
1. What would be the best version of Infinispan to use with WAS 8.5.
2. I've searched online and I could not find no help with the integration of Infinispan as an embedded datagrid within a JEE application server.
Getting it to work with JBoss EAP 6.1 was really easy.
Not sure how to even begin to embed Infinispan with WAS 8.5.
Would you know of any links, samples or documentation that help me accomplish this integration?
Again your help is greatly appreciated.
You simple need to include the same infinispan jars for JBoss and WAS.
Or did you use Infinispan which is provided by the EAP6.1 installation (which is not supported BTW)
If you run embedded mode you need to include the infinispan*.jar you need in your application. You might use programatic configuration or xml configuration files
We have recently upgraded to EAP 6.2.
Is the Infinispan in EAP 6.2 supported?
The Infinispan jar file that we have included in our build path is the following:
My problem is how to support the .... Properties and Dependencies defined in the module.xml.
<module xmlns="urn:jboss:module:1.1" name="org.infinispan">
<property name="jboss.api" value="unsupported"/>
<!-- Insert resources here -->
<module name="org.infinispan.cachestore.jdbc" optional="true"/>
<module name="org.infinispan.cachestore.remote" optional="true"/>
<module name="org.infinispan.client.hotrod" optional="true"/>
Also besides the main folder Infinispan also include 2 additions folders:
Not sure if the items in these folders must some how come into play when the datagrid is embedded.
Would you know of any documentation or examples that might help me with my concerns?
If you have a subscription for EAP and you will have a supported Infispan you need to have a JDG subscription for this.
The Infinispan component inside EAP is only for internal use and not for custom caches.
So you need to bundle JDG libraries with your application or you might use JDG6.3 where EAP modules are distributed for the use inside EAP.
This is the supported way for custom caches in EAP.
If you have more questions related to this I would recommend to open a support ticket as I assume you have a subscription for your EAP. Also you can use the Knowledgebase to find related articles.
Hi, I have done it sort of works but they are some .. corner cases. So
We are using Websphere 8.5.5 Full Profile. I am bundling infinispan version 6.0.2 (using IBM JDK7) (what's out for that) as a library in my final ear. So Infinispan is bundled all along. I am using a @Startup EJB to create a CacheManager, read some basic configuration (or programmatic) whatever suits you. (See here ). I am also destroying the cache manager on @PostDestroy.
I have not fully tested it on replication mode, but I assume that is going to work as it works while running the same example on 2 standalone profile wildfly's.
I have not tried yet to make use of the GenericTransactionManager to make the operations on the cache join the JTA manager (out of all corner-cases) I think this is the most difficult, since we already have custom code trying to integrate with the internal JTA manager of Websphere, on Hibernate 4 .