-
Bug
-
Resolution: Done
-
Major
-
JDG 7.0.0 ER5
-
None
While parsing the 6.0 configuration xml using conversion tool, the {{transport }} tag is not parsed properly.
The following code:
<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> <transport clusterName="ClusterOne" distributedSyncTimeout="50000"> <properties> <property name="configurationFile" value="jgroups-admin.xml" /> </properties> </transport> <globalJmxStatistics enabled="true" allowDuplicateDomains="true" cacheManagerName="AdminCacheManager"/> </global> </infinispan>
is converted to:
<?xml version="1.0" ?> <infinispan> <jgroups transport="org.infinispan.remoting.transport.jgroups.JGroupsTransport"/> <threads/> <cache-container name="AdminCacheManager" statistics="true"> <transport cluster="ClusterOne"/> <jmx duplicate-domains="true"/> </cache-container></infinispan>
As far as I understand the real parsed xml should look like this:
<infinispan> <jgroups> <stack-file name="default-jgroups-admin" path="jgroups-admin.xml"/> </jgroups> <cache-container name="AdminCacheManager" statistics="true"> <transport cluster="ClusterOne" lock-timeout="50000" stack="default-jgroups-admin"/> <jmx duplicate-domains="true"/> </cache-container> </infinispan>
the nodeName attribute of transport tag is also not converted to node-name.
UPDATE:
Also the converter doesn't parse any of the following configurations: asyncTransportExecutor, remoteCommandsExecutor and totalOrderExecutor. From infinispan-8.3 schema, I can see that now the transport tag has corresponding attributes for these elements: executor, remote-command-executor, total-order-executor .
- is blocked by
-
ISPN-6658 XML Serializer does not serialize jgroups element
- Closed