James Perkins created WFLY-12633:
------------------------------------
Summary: Server doesn't start when DNS_PING is configured
Key: WFLY-12633
URL:
https://issues.jboss.org/browse/WFLY-12633
Project: WildFly
Issue Type: Bug
Components: Clustering
Reporter: Jean Francois Denise
Assignee: Radoslav Husar
NPE at start.
The root cause is that <module name="sun.jdk"/> is missing from
org.wildfly.clustering.service module.
Exception:
Caused by: java.lang.NullPointerException
at org.jgroups.protocols.dns.DNS_PING.destroy(DNS_PING.java:70)
at java.util.ArrayList.forEach(ArrayList.java:1257)
at org.jgroups.stack.ProtocolStack.destroy(ProtocolStack.java:876)
at org.jgroups.stack.ProtocolStack.initProtocolStack(ProtocolStack.java:867)
at org.jgroups.stack.ProtocolStack.init(ProtocolStack.java:849)
at org.jgroups.JChannel.<init>(JChannel.java:155)
at
org.jboss.as.clustering.jgroups.JChannelFactory.createChannel(JChannelFactory.java:116)
at
org.jboss.as.clustering.jgroups.subsystem.ChannelServiceConfigurator.get(ChannelServiceConfigurator.java:96)
Hidden exception:
Failed instantiate InitialContextFactory com.sun.jndi.dns.DnsContextFactory from
classloader ModuleClassLoader for Module "org.wildfly.clustering.service"
version 18.0.0.Final-SNAPSHOT from local module loader @2d3fcdbd (finder: local module
finder @617c74e5 (roots:
/home/jdenise/workspaces/wildfly-jfdenise/build/target/wildfly-18.0.0.Final-SNAPSHOT/modules,/home/jdenise/workspaces/wildfly-jfdenise/build/target/wildfly-18.0.0.Final-SNAPSHOT/modules/system/layers/base))
[Root exception is java.lang.ClassNotFoundException: com.sun.jndi.dns.DnsContextFactory
from [Module "org.wildfly.clustering.service" version 18.0.0.Final-SNAPSHOT from
local module loader @2d3fcdbd (finder: local module finder @617c74e5 (roots:
/home/jdenise/workspaces/wildfly-jfdenise/build/target/wildfly-18.0.0.Final-SNAPSHOT/modules,/home/jdenise/workspaces/wildfly-jfdenise/build/target/wildfly-18.0.0.Final-SNAPSHOT/modules/system/layers/base))]]
--
This message was sent by Atlassian Jira
(v7.13.8#713008)