[jboss-jira] [JBoss JIRA] (JGRP-2477) Reintroduce support for configuring a JChannel via URL

Bela Ban (Jira) issues at jboss.org
Mon May 18 04:01:28 EDT 2020


    [ https://issues.redhat.com/browse/JGRP-2477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14102327#comment-14102327 ] 

Bela Ban commented on JGRP-2477:
--------------------------------

Applied, thanks and kudos for the nice report and reproducer! Doesn't happen often...

> 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
>            Reporter: Thomas Darimont
>            Assignee: Bela Ban
>            Priority: Minor
>             Fix For: 4.2.4
>
>
> 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