[jboss-jira] [JBoss JIRA] (WFLY-4624) JGroups protocol properties are never applied
Radoslav Husar (JIRA)
issues at jboss.org
Fri May 15 08:11:19 EDT 2015
[ https://issues.jboss.org/browse/WFLY-4624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13068370#comment-13068370 ]
Radoslav Husar commented on WFLY-4624:
--------------------------------------
[~fjuma], also note that the example configuration you provided is outdated. Please let me know if this is somewhere in our examples so it can be fixed there. Otherwise, it results in 2 warnings:
{code}
14:01:44,511 WARNING [org.jgroups.stack.Configurator] (MSC service thread 1-8) JGRP000014: Discovery.timeout has been deprecated: GMS.join_timeout should be used instead
14:01:44,511 WARNING [org.jgroups.stack.Configurator] (MSC service thread 1-8) JGRP000014: Discovery.num_initial_members has been deprecated: will be ignored
{code}
> JGroups protocol properties are never applied
> ---------------------------------------------
>
> Key: WFLY-4624
> URL: https://issues.jboss.org/browse/WFLY-4624
> Project: WildFly
> Issue Type: Bug
> Components: Clustering
> Affects Versions: 9.0.0.CR1
> Reporter: Farah Juma
> Assignee: Radoslav Husar
> Priority: Blocker
> Fix For: 9.0.0.CR2, 10.0.0.Alpha1
>
>
> Protocol properties are never applied, the check for applying properties is done on the legacy resource that only registers operation tranformation on old the old property address.
> Original report:
> ----
> When the JGroups subsystem is configured to use TCPPING, the following error occurs when deploying a distributable app:
> {code}
> 14:50:11,930 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC000001: Failed to start service jboss.jgroups.channel.ee: org.jboss.msc.service.StartException in service jboss.jgroups.channel.ee: java.security.PrivilegedActionException: java.lang.Exception: Property assignment of initial_hosts in TCPPING with original property value null and converted to null could not be assigned
> at org.wildfly.clustering.jgroups.spi.service.ChannelBuilder.start(ChannelBuilder.java:79)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: java.security.PrivilegedActionException: java.lang.Exception: Property assignment of initial_hosts in TCPPING with original property value null and converted to null could not be assigned
> at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:638)
> at org.jboss.as.clustering.jgroups.JChannelFactory.createChannel(JChannelFactory.java:99)
> at org.wildfly.clustering.jgroups.spi.service.ChannelBuilder.start(ChannelBuilder.java:77)
> ... 5 more
> Caused by: java.lang.Exception: Property assignment of initial_hosts in TCPPING with original property value null and converted to null could not be assigned
> at org.jgroups.stack.Configurator.resolveAndAssignField(Configurator.java:1153)
> at org.jgroups.stack.Configurator.createLayer(Configurator.java:444)
> at org.jgroups.stack.Configurator.createProtocols(Configurator.java:398)
> at org.jgroups.stack.Configurator.setupProtocolStack(Configurator.java:90)
> at org.jgroups.stack.Configurator.setupProtocolStack(Configurator.java:57)
> at org.jgroups.stack.ProtocolStack.setup(ProtocolStack.java:477)
> at org.jgroups.JChannel.init(JChannel.java:854)
> at org.jgroups.JChannel.<init>(JChannel.java:159)
> at org.jboss.as.clustering.jgroups.JChannelFactory$1.run(JChannelFactory.java:96)
> at org.jboss.as.clustering.jgroups.JChannelFactory$1.run(JChannelFactory.java:93)
> at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:634)
> ... 7 more
> Caused by: java.lang.Exception: Conversion of initial_hosts in TCPPING with original property value null failed
> at org.jgroups.conf.PropertyHelper.getConvertedValue(PropertyHelper.java:84)
> at org.jgroups.stack.Configurator.resolveAndAssignField(Configurator.java:1147)
> ... 17 more
> Caused by: java.lang.NullPointerException
> at java.util.StringTokenizer.<init>(StringTokenizer.java:199)
> at java.util.StringTokenizer.<init>(StringTokenizer.java:221)
> at org.jgroups.util.Util.parseCommaDelimitedHosts(Util.java:2650)
> at org.jgroups.conf.PropertyConverters$InitialHosts.convert(PropertyConverters.java:67)
> at org.jgroups.conf.PropertyHelper.getConvertedValue(PropertyHelper.java:81)
> ... 18 more
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
More information about the jboss-jira
mailing list