[jboss-jira] [JBoss JIRA] (JGRP-2477) Reintroduce support for configuring a JChannel via URL
Thomas Darimont (Jira)
issues at jboss.org
Mon May 18 03:13:42 EDT 2020
[ https://issues.redhat.com/browse/JGRP-2477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14102272#comment-14102272 ]
Thomas Darimont commented on JGRP-2477:
---------------------------------------
Hi Bela, thanks for the quick response!
Yes I'm sure, here is a reproducer: https://github.com/thomasdarimont/JGRP-2477-Reproducer-jgroupxml-via-url
May I ask why the ctor was removed in 5.x? I did not try whether 5.x is compatible with Infinispan 9.4.x but I can give it a try.
> Reintroduce support for configuring a JChannel via URL
> ------------------------------------------------------
>
> Key: JGRP-2477
> URL: https://issues.redhat.com/browse/JGRP-2477
> Project: JGroups
> Issue Type: Enhancement
> Affects Versions: 4.2.3, 5.0.0.Beta1
> Reporter: Thomas Darimont
> Assignee: Bela Ban
> Priority: Minor
>
> Infinispan 9.4.x (9.4.19) uses a URL to load the JGroups configuration from the infinispan configuration.
> When an external jgroups stack configuration file is used:
> See: "Using an external JGroups file" in https://infinispan.org/docs/9.4.x/user_guide/user_guide.html#using_an_external_jgroups_file
> When creating the JGroups stack, infinispan uses the constructor in org.jgroups.JChannel#JChannel(...) which takes a URL as parameter.
> See: https://github.com/infinispan/infinispan/blob/9.4.x/core/src/main/java/org/infinispan/remoting/transport/jgroups/JGroupsTransport.java#L586
> However this constructor is only present in versions up-to including 4.0.22 https://github.com/belaban/JGroups/blob/4.0.22/src/org/jgroups/JChannel.java#L121
> and was removed in later versions.
> Because of this users of infinispan 9.4.x, who use the "Using an external JGroups file" configuration approach cannot upgrade to new JGroups versions, like 4.2.3.
> In order to ease upgrading to newer JGroups versions with Infinispan 9.4.x. it would be very kind if the constructor with the URL parameter
> could be added back.
> I created a pull request to add the constructor {org.jgroups.JChannel#JChannel(java.net.URL)} to master, which can also be cherry-picked for the 4.x branch.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the jboss-jira
mailing list