Do the following steps,
Got to the
Infifnispan
download page http://infinispan.org/download/Download the
As7 module
s. Inside of that you will get the modules which is required to be updatedCopy the folders
6.0,commons,persistence
andtree
insideDOWNLOADED_FOLDER\org\infinispan
intoJBOSS_7_HOME\modules\org\infinispan
folderAdd the folder
6.0
insideDOWNLOADED_FOLDER\org\infinispan\cachestore\jdbc
intoJBOSS_7_HOME\modules\org\infinispan\cachestore\jdbc
folderAdd the folder
6.0
insideDOWNLOADED_FOLDER\org\infinispan\cachestore\remote
intoJBOSS_7_HOME\modules\org\infinispan\cachestore\remote
folderDo the same for
jqroups
alsoNow while adding dependency of your application to Infinispan (either using
<global-modules>
instandalone.xml
or by usingjboss-deployment-structure.xml
) addslot="6.0"
like,<subsystem xmlns="urn:jboss:domain:ee:1.0"> <global-modules> <module name="org.infinispan" slot="6.0"/> <module name="org.infinispan.client.hotrod" slot="6.0"/> </global-modules> </subsystem>
Done! Now Jboss will use the latest version version of Infinispan
Note: You can also use WildFly
version of Jboss
, it is shipped with Infinispan 6