-
1. Re: Issues upgrading infinispan 6.0 to 7.1.1
nadirx Mar 13, 2015 4:19 PM (in response to mmr11408)Your file should look like this (the cache-container section is identical now between library and server and WildFly):
<infinispan xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:infinispan:config:7.1 http://www.infinispan.org/schemas/infinispan-config-7.1.xsd" xmlns="urn:infinispan:config:7.1"> <jgroups transport="org.infinispan.remoting.transport.jgroups.JGroupsTransport"> <stack-file name="udp" path="jgroups-udp.xml"/> <stack-file name="tcp" path="jgroups-tcp.xml"/> </jgroups> <cache-container default-cache="default"> <local-cache name="default"> <transaction mode="BATCH" stop-timeout="2"/> </local-cache> <local-cache name="tml"> <transaction mode="NON_XA" transaction-manager-lookup="org.infinispan.transaction.lookup.DummyTransactionManagerLookup" stop-timeout="2"/> </local-cache> </cache-container> </infinispan>
-
2. Re: Issues upgrading infinispan 6.0 to 7.1.1
mmr11408 Mar 13, 2015 4:46 PM (in response to nadirx)The new format does not look very familiar. I am using Infinispan in a tomcat application using UDP for replicating the clustered cache. Below is the full config file. jgroups.xml right now is the one that comes with Infinispan. Does the new format apply to this scenario? Is the conversion process written up somewhere?
<infinispan xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:infinispan:config:6.0 http://www.infinispan.org/schemas/infinispan-config-6.0.xsd"
xmlns="urn:infinispan:config:6.0"><global>
<!-- for distributed cache -->
<transport>
<properties>
<property name="configurationFile" value="jgroups.xml"/>
</properties>
</transport>
</global>
<default>
<locking
isolationLevel="REPEATABLE_READ"
/>
<eviction
maxEntries="2000000"
strategy="LIRS"
/>
<expiration
lifespan="-1"
/>
<persistence passivation="false">
<!-- If ignoreModifications is set to true items that are evicted will not be in the store
and hence not found -->
<!--
<singleFile
shared="false"
fetchPersistentState="false"
ignoreModifications="false"
purgeOnStartup="true"
preload="false"
location="Infinispan-SingleFileCacheStore">
</singleFile>
-->
</persistence>
<!-- Configure a local, synchronous -->
<clustering mode="local">
<sync/>
</clustering>
<jmxStatistics
enabled="true"
/>
</default>
<namedCache name ="EdiCache">
<clustering mode="replication">
<stateTransfer chunkSize="0" fetchInMemoryState="true" timeout="240000"/>
<sync replTimeout="20000"/>
</clustering>
</namedCache><namedCache name ="BuCache">
<clustering mode="replication">
<stateTransfer chunkSize="0" fetchInMemoryState="true" timeout="240000"/>
<sync replTimeout="20000"/>
</clustering>
</namedCache><namedCache name ="ManagerCache">
<eviction
maxEntries="1"
/>
<clustering mode="replication">
<stateTransfer chunkSize="0" fetchInMemoryState="true" timeout="240000"/>
<sync replTimeout="20000"/>
</clustering>
</namedCache><namedCache name ="ClusterCache">
<eviction
maxEntries="2"
/>
<clustering mode="replication">
<stateTransfer chunkSize="0" fetchInMemoryState="true" timeout="240000"/>
<sync replTimeout="20000"/>
</clustering>
</namedCache></infinispan>
-
3. Re: Issues upgrading infinispan 6.0 to 7.1.1
mmr11408 Mar 27, 2015 8:42 AM (in response to mmr11408)Since we are in the early stages of using Infinispan I want to stay with the latest version and not be locked into an old release. I have not had any luck converting my 6.0 configuration file to 7.1.1 or finding any similar examples. The error continues to display even after the above section was added. Any help in converting the full configuration which I appended in the previous reply would be appreciated.