Use infinispan 7 for wildfly 8.1.0

╄→гoц情女王★ 提交于 2019-12-11 19:55:45

问题


in Wildfly 8.1.0, infinispan 6.0.2.Final is integrated, but I want to use newer version of Infinispan, 7.0.0.final, how can I configure wildfly or my pom.xml/jboss-deployment-structure.xml to use external infinispan 7.0.0.Final, not its own infinispan (6.0.2.Final). Thank you.


回答1:


Create w JBOSS Module for Infinispan 7.

Go to: %WILDFLY_HOME%\modules\system\layers\base\org\infinispan\ and copy the \main folder and rename it to for example \version7.

Inside this folder delete the infinispan 6 jar and place the infinispan 7 jar.

Then edit the module.xml and replace infinispan-core-6.0.2.Final.jar with the filename of the infinispan 7 jar. Then edit <module xmlns="urn:jboss:module:1.3" name="org.infinispan"> by adding a slot like version7.

Finally in jboss-deployment-strucutre.xml reference infinispan with the slot version7.



来源:https://stackoverflow.com/questions/27031481/use-infinispan-7-for-wildfly-8-1-0

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!