[JBoss JIRA] (WFLY-10323) Correct various issues discovered in "EAP-ization"
by Brian Stansberry (JIRA)
Brian Stansberry created WFLY-10323:
---------------------------------------
Summary: Correct various issues discovered in "EAP-ization"
Key: WFLY-10323
URL: https://issues.jboss.org/browse/WFLY-10323
Project: WildFly
Issue Type: Bug
Components: Build System
Reporter: Brian Stansberry
Assignee: Brian Stansberry
Port to upstream various corrections made when preparing a preliminary CD 13 branch from WF master. These are items that are problems in master:
1) Missing version prop in component-matrix/pom.xml
2) A transitive dep of jaxbintros should be excluded
3) Various corrections to the feature pack licenses.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 2 months
[JBoss JIRA] (WFCORE-3793) Services required to add support for sasl authentication on legacy realms may not be there
by ehsavoie Hugonnet (JIRA)
[ https://issues.jboss.org/browse/WFCORE-3793?page=com.atlassian.jira.plugi... ]
ehsavoie Hugonnet reassigned WFCORE-3793:
-----------------------------------------
Assignee: ehsavoie Hugonnet (was: Darran Lofthouse)
> Services required to add support for sasl authentication on legacy realms may not be there
> ------------------------------------------------------------------------------------------
>
> Key: WFCORE-3793
> URL: https://issues.jboss.org/browse/WFCORE-3793
> Project: WildFly Core
> Issue Type: Bug
> Components: Security
> Affects Versions: 5.0.0.Alpha4
> Reporter: ehsavoie Hugonnet
> Assignee: ehsavoie Hugonnet
> Priority: Critical
> Attachments: configure_elytron.cli, configure_realms.cli
>
>
> When creating a configuration from scratch using an embedded server like this :
> {code:java}
> embed-server --admin-only --empty-config --server-config=sasl-upgrade.xml --remove-existing
> {code}
> Then configure the minimal extensions :
> {code:java}
> batch
> /interface=management:add(inet-address=${jboss.bind.address.management:127.0.0.1})
> /interface=public:add(inet-address=${jboss.bind.address:127.0.0.1})
> run-batch
> /socket-binding-group=standard-sockets:add(default-interface=public,port-offset=${jboss.socket.binding.port-offset:0})
> batch
> /socket-binding-group=standard-sockets/socket-binding=management-http:add(interface=management,port=${jboss.management.http.port:9990})
> /socket-binding-group=standard-sockets/socket-binding=management-https:add(interface=management,port=${jboss.management.https.port:9993})
> run-batch
> batch
> /extension=org.jboss.as.logging:add
> /extension=org.wildfly.extension.core-management:add
> /extension=org.wildfly.extension.elytron:add
> /extension=org.jboss.as.jmx:add
> /extension=org.wildfly.extension.request-controller:add
> /extension=org.wildfly.extension.discovery:add
> /extension=org.wildfly.extension.security.manager:add
> run-batch
> {code}
> Then execute the 2 following scripts :
> batch --file=/home/ehsavoie/galleon-scripts/configure_elytron.cli
> batch --file=/home/ehsavoie/galleon-scripts/configure_realms.cli
> Then it will fail with the following error :
> Failure: {"WFLYCTL0412: Required services that are not installed:" => ["elytron.security-properties","elytron.provider-registration"],"WFLYCTL0180: Services with missing/unavailable dependencies" => ["org.wildfly.core.management.security.realm.ApplicationRealm.ssl-context is missing [elytron.security-properties, elytron.provider-registration]"]}
> Since those services are added at boottime only by the ElytronAdd handler we shouldn't fail if we are already in a reload-required or admin-only mode.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 2 months
[JBoss JIRA] (WFLY-10322) Instructions for removing welcome content don't work
by Rich DiCroce (JIRA)
Rich DiCroce created WFLY-10322:
-----------------------------------
Summary: Instructions for removing welcome content don't work
Key: WFLY-10322
URL: https://issues.jboss.org/browse/WFLY-10322
Project: WildFly
Issue Type: Bug
Components: Web (Undertow)
Affects Versions: 12.0.0.Final
Reporter: Rich DiCroce
Assignee: Stuart Douglas
The welcome page in WildFly 12 says:
{quote}
To replace this page simply deploy your own war with / as its context path.
To disable it, remove the "welcome-content" handler for location / in the undertow subsystem.
{quote}
But after removing the handler, the welcome content still appears. This is true even though I also have default-web-module set. A similar configuration worked correctly on WildFly 11, so this appears to be a relatively recent regression.
WildFly 12 Undertow subsystem config:
{code}
<subsystem xmlns="urn:jboss:domain:undertow:5.0">
<buffer-cache name="default"/>
<server name="default-server">
<http-listener name="default" socket-binding="http"/>
<host name="default-host" alias="localhost" default-web-module="report-server.war">
<filter-ref name="server-header"/>
<filter-ref name="x-powered-by-header"/>
<http-invoker http-authentication-factory="application-http-authentication"/>
</host>
</server>
<servlet-container name="default">
<jsp-config/>
<websockets/>
<session-cookie name="SQERS_SESSION_ID"/>
</servlet-container>
<filters>
<response-header name="server-header" header-value="WildFly/12" header-name="Server"/>
<response-header name="x-powered-by-header" header-value="Undertow/1" header-name="X-Powered-By"/>
</filters>
</subsystem>
{code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 2 months
[JBoss JIRA] (WFLY-10321) Configuring dns.DNS_PING protocol fails with ClassNotFoundException: com.sun.jndi.dns.DnsContextFactory
by Radoslav Husar (JIRA)
[ https://issues.jboss.org/browse/WFLY-10321?page=com.atlassian.jira.plugin... ]
Radoslav Husar updated WFLY-10321:
----------------------------------
Fix Version/s: (was: 13.0.0.Beta1)
> Configuring dns.DNS_PING protocol fails with ClassNotFoundException: com.sun.jndi.dns.DnsContextFactory
> -------------------------------------------------------------------------------------------------------
>
> Key: WFLY-10321
> URL: https://issues.jboss.org/browse/WFLY-10321
> Project: WildFly
> Issue Type: Bug
> Affects Versions: 12.0.0.Final
> Reporter: Radoslav Husar
> Assignee: Radoslav Husar
>
> {noformat}
> 22:36:47,840 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 70) MSC000001: Failed to start service org.wildfly.clustering.jgroups.channel.ee: org.jboss.msc.service.StartException in service org.wildfly.clustering.jgroups.channel.ee: javax.naming.NamingException: WFLYNAM0027: Failed instantiate InitialContextFactory com.sun.jndi.dns.DnsContextFactory from classloader ModuleClassLoader for Module "org.wildfly.clustering.service" version 13.0.0.Alpha1-SNAPSHOT from local module loader @2812cbfa (finder: local module finder @2acf57e3 (roots: /Users/rhusar/git/wildfly/build/target/wildfly-13.0.0.Alpha1-SNAPSHOT/modules,/Users/rhusar/git/wildfly/build/target/wildfly-13.0.0.Alpha1-SNAPSHOT/modules/system/layers/base)) [Root exception is java.lang.ClassNotFoundException: com.sun.jndi.dns.DnsContextFactory from [Module "org.wildfly.clustering.service" version 13.0.0.Alpha1-SNAPSHOT from local module loader @2812cbfa (finder: local module finder @2acf57e3 (roots: /Users/rhusar/git/wildfly/build/target/wildfly-13.0.0.Alpha1-SNAPSHOT/modules,/Users/rhusar/git/wildfly/build/target/wildfly-13.0.0.Alpha1-SNAPSHOT/modules/system/layers/base))]]
> at org.jboss.as.clustering.jgroups.subsystem.ChannelBuilder.start(ChannelBuilder.java:100)
> at org.wildfly.clustering.service.AsynchronousServiceBuilder.lambda$start$0(AsynchronousServiceBuilder.java:99)
> at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
> at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378)
> at java.lang.Thread.run(Thread.java:748)
> at org.jboss.threads.JBossThread.run(JBossThread.java:485)
> Caused by: javax.naming.NamingException: WFLYNAM0027: Failed instantiate InitialContextFactory com.sun.jndi.dns.DnsContextFactory from classloader ModuleClassLoader for Module "org.wildfly.clustering.service" version 13.0.0.Alpha1-SNAPSHOT from local module loader @2812cbfa (finder: local module finder @2acf57e3 (roots: /Users/rhusar/git/wildfly/build/target/wildfly-13.0.0.Alpha1-SNAPSHOT/modules,/Users/rhusar/git/wildfly/build/target/wildfly-13.0.0.Alpha1-SNAPSHOT/modules/system/layers/base)) [Root exception is java.lang.ClassNotFoundException: com.sun.jndi.dns.DnsContextFactory from [Module "org.wildfly.clustering.service" version 13.0.0.Alpha1-SNAPSHOT from local module loader @2812cbfa (finder: local module finder @2acf57e3 (roots: /Users/rhusar/git/wildfly/build/target/wildfly-13.0.0.Alpha1-SNAPSHOT/modules,/Users/rhusar/git/wildfly/build/target/wildfly-13.0.0.Alpha1-SNAPSHOT/modules/system/layers/base))]]
> at org.jboss.as.naming.InitialContext.getDefaultInitCtx(InitialContext.java:120)
> at org.jboss.as.naming.InitialContext.init(InitialContext.java:101)
> at javax.naming.ldap.InitialLdapContext.<init>(InitialLdapContext.java:154)
> at org.jboss.as.naming.InitialContext.<init>(InitialContext.java:91)
> at org.jboss.as.naming.InitialContextFactory.getInitialContext(InitialContextFactory.java:43)
> at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684)
> at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:313)
> at javax.naming.InitialContext.init(InitialContext.java:244)
> at javax.naming.InitialContext.<init>(InitialContext.java:216)
> at javax.naming.directory.InitialDirContext.<init>(InitialDirContext.java:101)
> at org.jgroups.protocols.dns.DefaultDNSResolver.<init>(DefaultDNSResolver.java:40)
> at org.jgroups.protocols.dns.DNS_PING.init(DNS_PING.java:54)
> at org.jgroups.stack.ProtocolStack.initProtocolStack(ProtocolStack.java:840)
> at org.jgroups.stack.ProtocolStack.init(ProtocolStack.java:830)
> at org.jgroups.JChannel.<init>(JChannel.java:200)
> at org.jboss.as.clustering.jgroups.JChannelFactory.createChannel(JChannelFactory.java:108)
> at org.jboss.as.clustering.jgroups.subsystem.ChannelBuilder.start(ChannelBuilder.java:98)
> ... 7 more
> Caused by: java.lang.ClassNotFoundException: com.sun.jndi.dns.DnsContextFactory from [Module "org.wildfly.clustering.service" version 13.0.0.Alpha1-SNAPSHOT from local module loader @2812cbfa (finder: local module finder @2acf57e3 (roots: /Users/rhusar/git/wildfly/build/target/wildfly-13.0.0.Alpha1-SNAPSHOT/modules,/Users/rhusar/git/wildfly/build/target/wildfly-13.0.0.Alpha1-SNAPSHOT/modules/system/layers/base))]
> at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:255)
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:410)
> at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
> at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:348)
> at org.jboss.as.naming.InitialContext.getDefaultInitCtx(InitialContext.java:115)
> ... 23 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 2 months
[JBoss JIRA] (WFLY-10321) Configuring dns.DNS_PING protocol fails with ClassNotFoundException: com.sun.jndi.dns.DnsContextFactory
by Radoslav Husar (JIRA)
[ https://issues.jboss.org/browse/WFLY-10321?page=com.atlassian.jira.plugin... ]
Radoslav Husar updated WFLY-10321:
----------------------------------
Component/s: Clustering
> Configuring dns.DNS_PING protocol fails with ClassNotFoundException: com.sun.jndi.dns.DnsContextFactory
> -------------------------------------------------------------------------------------------------------
>
> Key: WFLY-10321
> URL: https://issues.jboss.org/browse/WFLY-10321
> Project: WildFly
> Issue Type: Bug
> Components: Clustering
> Affects Versions: 12.0.0.Final
> Reporter: Radoslav Husar
> Assignee: Radoslav Husar
>
> {noformat}
> 22:36:47,840 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 70) MSC000001: Failed to start service org.wildfly.clustering.jgroups.channel.ee: org.jboss.msc.service.StartException in service org.wildfly.clustering.jgroups.channel.ee: javax.naming.NamingException: WFLYNAM0027: Failed instantiate InitialContextFactory com.sun.jndi.dns.DnsContextFactory from classloader ModuleClassLoader for Module "org.wildfly.clustering.service" version 13.0.0.Alpha1-SNAPSHOT from local module loader @2812cbfa (finder: local module finder @2acf57e3 (roots: /Users/rhusar/git/wildfly/build/target/wildfly-13.0.0.Alpha1-SNAPSHOT/modules,/Users/rhusar/git/wildfly/build/target/wildfly-13.0.0.Alpha1-SNAPSHOT/modules/system/layers/base)) [Root exception is java.lang.ClassNotFoundException: com.sun.jndi.dns.DnsContextFactory from [Module "org.wildfly.clustering.service" version 13.0.0.Alpha1-SNAPSHOT from local module loader @2812cbfa (finder: local module finder @2acf57e3 (roots: /Users/rhusar/git/wildfly/build/target/wildfly-13.0.0.Alpha1-SNAPSHOT/modules,/Users/rhusar/git/wildfly/build/target/wildfly-13.0.0.Alpha1-SNAPSHOT/modules/system/layers/base))]]
> at org.jboss.as.clustering.jgroups.subsystem.ChannelBuilder.start(ChannelBuilder.java:100)
> at org.wildfly.clustering.service.AsynchronousServiceBuilder.lambda$start$0(AsynchronousServiceBuilder.java:99)
> at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
> at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378)
> at java.lang.Thread.run(Thread.java:748)
> at org.jboss.threads.JBossThread.run(JBossThread.java:485)
> Caused by: javax.naming.NamingException: WFLYNAM0027: Failed instantiate InitialContextFactory com.sun.jndi.dns.DnsContextFactory from classloader ModuleClassLoader for Module "org.wildfly.clustering.service" version 13.0.0.Alpha1-SNAPSHOT from local module loader @2812cbfa (finder: local module finder @2acf57e3 (roots: /Users/rhusar/git/wildfly/build/target/wildfly-13.0.0.Alpha1-SNAPSHOT/modules,/Users/rhusar/git/wildfly/build/target/wildfly-13.0.0.Alpha1-SNAPSHOT/modules/system/layers/base)) [Root exception is java.lang.ClassNotFoundException: com.sun.jndi.dns.DnsContextFactory from [Module "org.wildfly.clustering.service" version 13.0.0.Alpha1-SNAPSHOT from local module loader @2812cbfa (finder: local module finder @2acf57e3 (roots: /Users/rhusar/git/wildfly/build/target/wildfly-13.0.0.Alpha1-SNAPSHOT/modules,/Users/rhusar/git/wildfly/build/target/wildfly-13.0.0.Alpha1-SNAPSHOT/modules/system/layers/base))]]
> at org.jboss.as.naming.InitialContext.getDefaultInitCtx(InitialContext.java:120)
> at org.jboss.as.naming.InitialContext.init(InitialContext.java:101)
> at javax.naming.ldap.InitialLdapContext.<init>(InitialLdapContext.java:154)
> at org.jboss.as.naming.InitialContext.<init>(InitialContext.java:91)
> at org.jboss.as.naming.InitialContextFactory.getInitialContext(InitialContextFactory.java:43)
> at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684)
> at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:313)
> at javax.naming.InitialContext.init(InitialContext.java:244)
> at javax.naming.InitialContext.<init>(InitialContext.java:216)
> at javax.naming.directory.InitialDirContext.<init>(InitialDirContext.java:101)
> at org.jgroups.protocols.dns.DefaultDNSResolver.<init>(DefaultDNSResolver.java:40)
> at org.jgroups.protocols.dns.DNS_PING.init(DNS_PING.java:54)
> at org.jgroups.stack.ProtocolStack.initProtocolStack(ProtocolStack.java:840)
> at org.jgroups.stack.ProtocolStack.init(ProtocolStack.java:830)
> at org.jgroups.JChannel.<init>(JChannel.java:200)
> at org.jboss.as.clustering.jgroups.JChannelFactory.createChannel(JChannelFactory.java:108)
> at org.jboss.as.clustering.jgroups.subsystem.ChannelBuilder.start(ChannelBuilder.java:98)
> ... 7 more
> Caused by: java.lang.ClassNotFoundException: com.sun.jndi.dns.DnsContextFactory from [Module "org.wildfly.clustering.service" version 13.0.0.Alpha1-SNAPSHOT from local module loader @2812cbfa (finder: local module finder @2acf57e3 (roots: /Users/rhusar/git/wildfly/build/target/wildfly-13.0.0.Alpha1-SNAPSHOT/modules,/Users/rhusar/git/wildfly/build/target/wildfly-13.0.0.Alpha1-SNAPSHOT/modules/system/layers/base))]
> at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:255)
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:410)
> at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
> at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:348)
> at org.jboss.as.naming.InitialContext.getDefaultInitCtx(InitialContext.java:115)
> ... 23 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 2 months
[JBoss JIRA] (WFLY-10321) Configuring dns.DNS_PING protocol fails with ClassNotFoundException: com.sun.jndi.dns.DnsContextFactory
by Radoslav Husar (JIRA)
Radoslav Husar created WFLY-10321:
-------------------------------------
Summary: Configuring dns.DNS_PING protocol fails with ClassNotFoundException: com.sun.jndi.dns.DnsContextFactory
Key: WFLY-10321
URL: https://issues.jboss.org/browse/WFLY-10321
Project: WildFly
Issue Type: Bug
Reporter: Radoslav Husar
Assignee: Radoslav Husar
{noformat}
22:36:47,840 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 70) MSC000001: Failed to start service org.wildfly.clustering.jgroups.channel.ee: org.jboss.msc.service.StartException in service org.wildfly.clustering.jgroups.channel.ee: javax.naming.NamingException: WFLYNAM0027: Failed instantiate InitialContextFactory com.sun.jndi.dns.DnsContextFactory from classloader ModuleClassLoader for Module "org.wildfly.clustering.service" version 13.0.0.Alpha1-SNAPSHOT from local module loader @2812cbfa (finder: local module finder @2acf57e3 (roots: /Users/rhusar/git/wildfly/build/target/wildfly-13.0.0.Alpha1-SNAPSHOT/modules,/Users/rhusar/git/wildfly/build/target/wildfly-13.0.0.Alpha1-SNAPSHOT/modules/system/layers/base)) [Root exception is java.lang.ClassNotFoundException: com.sun.jndi.dns.DnsContextFactory from [Module "org.wildfly.clustering.service" version 13.0.0.Alpha1-SNAPSHOT from local module loader @2812cbfa (finder: local module finder @2acf57e3 (roots: /Users/rhusar/git/wildfly/build/target/wildfly-13.0.0.Alpha1-SNAPSHOT/modules,/Users/rhusar/git/wildfly/build/target/wildfly-13.0.0.Alpha1-SNAPSHOT/modules/system/layers/base))]]
at org.jboss.as.clustering.jgroups.subsystem.ChannelBuilder.start(ChannelBuilder.java:100)
at org.wildfly.clustering.service.AsynchronousServiceBuilder.lambda$start$0(AsynchronousServiceBuilder.java:99)
at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378)
at java.lang.Thread.run(Thread.java:748)
at org.jboss.threads.JBossThread.run(JBossThread.java:485)
Caused by: javax.naming.NamingException: WFLYNAM0027: Failed instantiate InitialContextFactory com.sun.jndi.dns.DnsContextFactory from classloader ModuleClassLoader for Module "org.wildfly.clustering.service" version 13.0.0.Alpha1-SNAPSHOT from local module loader @2812cbfa (finder: local module finder @2acf57e3 (roots: /Users/rhusar/git/wildfly/build/target/wildfly-13.0.0.Alpha1-SNAPSHOT/modules,/Users/rhusar/git/wildfly/build/target/wildfly-13.0.0.Alpha1-SNAPSHOT/modules/system/layers/base)) [Root exception is java.lang.ClassNotFoundException: com.sun.jndi.dns.DnsContextFactory from [Module "org.wildfly.clustering.service" version 13.0.0.Alpha1-SNAPSHOT from local module loader @2812cbfa (finder: local module finder @2acf57e3 (roots: /Users/rhusar/git/wildfly/build/target/wildfly-13.0.0.Alpha1-SNAPSHOT/modules,/Users/rhusar/git/wildfly/build/target/wildfly-13.0.0.Alpha1-SNAPSHOT/modules/system/layers/base))]]
at org.jboss.as.naming.InitialContext.getDefaultInitCtx(InitialContext.java:120)
at org.jboss.as.naming.InitialContext.init(InitialContext.java:101)
at javax.naming.ldap.InitialLdapContext.<init>(InitialLdapContext.java:154)
at org.jboss.as.naming.InitialContext.<init>(InitialContext.java:91)
at org.jboss.as.naming.InitialContextFactory.getInitialContext(InitialContextFactory.java:43)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:313)
at javax.naming.InitialContext.init(InitialContext.java:244)
at javax.naming.InitialContext.<init>(InitialContext.java:216)
at javax.naming.directory.InitialDirContext.<init>(InitialDirContext.java:101)
at org.jgroups.protocols.dns.DefaultDNSResolver.<init>(DefaultDNSResolver.java:40)
at org.jgroups.protocols.dns.DNS_PING.init(DNS_PING.java:54)
at org.jgroups.stack.ProtocolStack.initProtocolStack(ProtocolStack.java:840)
at org.jgroups.stack.ProtocolStack.init(ProtocolStack.java:830)
at org.jgroups.JChannel.<init>(JChannel.java:200)
at org.jboss.as.clustering.jgroups.JChannelFactory.createChannel(JChannelFactory.java:108)
at org.jboss.as.clustering.jgroups.subsystem.ChannelBuilder.start(ChannelBuilder.java:98)
... 7 more
Caused by: java.lang.ClassNotFoundException: com.sun.jndi.dns.DnsContextFactory from [Module "org.wildfly.clustering.service" version 13.0.0.Alpha1-SNAPSHOT from local module loader @2812cbfa (finder: local module finder @2acf57e3 (roots: /Users/rhusar/git/wildfly/build/target/wildfly-13.0.0.Alpha1-SNAPSHOT/modules,/Users/rhusar/git/wildfly/build/target/wildfly-13.0.0.Alpha1-SNAPSHOT/modules/system/layers/base))]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:255)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:410)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at org.jboss.as.naming.InitialContext.getDefaultInitCtx(InitialContext.java:115)
... 23 more
{noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 2 months
[JBoss JIRA] (WFLY-10321) Configuring dns.DNS_PING protocol fails with ClassNotFoundException: com.sun.jndi.dns.DnsContextFactory
by Radoslav Husar (JIRA)
[ https://issues.jboss.org/browse/WFLY-10321?page=com.atlassian.jira.plugin... ]
Radoslav Husar updated WFLY-10321:
----------------------------------
Affects Version/s: 12.0.0.Final
> Configuring dns.DNS_PING protocol fails with ClassNotFoundException: com.sun.jndi.dns.DnsContextFactory
> -------------------------------------------------------------------------------------------------------
>
> Key: WFLY-10321
> URL: https://issues.jboss.org/browse/WFLY-10321
> Project: WildFly
> Issue Type: Bug
> Affects Versions: 12.0.0.Final
> Reporter: Radoslav Husar
> Assignee: Radoslav Husar
> Fix For: 13.0.0.Beta1
>
>
> {noformat}
> 22:36:47,840 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 70) MSC000001: Failed to start service org.wildfly.clustering.jgroups.channel.ee: org.jboss.msc.service.StartException in service org.wildfly.clustering.jgroups.channel.ee: javax.naming.NamingException: WFLYNAM0027: Failed instantiate InitialContextFactory com.sun.jndi.dns.DnsContextFactory from classloader ModuleClassLoader for Module "org.wildfly.clustering.service" version 13.0.0.Alpha1-SNAPSHOT from local module loader @2812cbfa (finder: local module finder @2acf57e3 (roots: /Users/rhusar/git/wildfly/build/target/wildfly-13.0.0.Alpha1-SNAPSHOT/modules,/Users/rhusar/git/wildfly/build/target/wildfly-13.0.0.Alpha1-SNAPSHOT/modules/system/layers/base)) [Root exception is java.lang.ClassNotFoundException: com.sun.jndi.dns.DnsContextFactory from [Module "org.wildfly.clustering.service" version 13.0.0.Alpha1-SNAPSHOT from local module loader @2812cbfa (finder: local module finder @2acf57e3 (roots: /Users/rhusar/git/wildfly/build/target/wildfly-13.0.0.Alpha1-SNAPSHOT/modules,/Users/rhusar/git/wildfly/build/target/wildfly-13.0.0.Alpha1-SNAPSHOT/modules/system/layers/base))]]
> at org.jboss.as.clustering.jgroups.subsystem.ChannelBuilder.start(ChannelBuilder.java:100)
> at org.wildfly.clustering.service.AsynchronousServiceBuilder.lambda$start$0(AsynchronousServiceBuilder.java:99)
> at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
> at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378)
> at java.lang.Thread.run(Thread.java:748)
> at org.jboss.threads.JBossThread.run(JBossThread.java:485)
> Caused by: javax.naming.NamingException: WFLYNAM0027: Failed instantiate InitialContextFactory com.sun.jndi.dns.DnsContextFactory from classloader ModuleClassLoader for Module "org.wildfly.clustering.service" version 13.0.0.Alpha1-SNAPSHOT from local module loader @2812cbfa (finder: local module finder @2acf57e3 (roots: /Users/rhusar/git/wildfly/build/target/wildfly-13.0.0.Alpha1-SNAPSHOT/modules,/Users/rhusar/git/wildfly/build/target/wildfly-13.0.0.Alpha1-SNAPSHOT/modules/system/layers/base)) [Root exception is java.lang.ClassNotFoundException: com.sun.jndi.dns.DnsContextFactory from [Module "org.wildfly.clustering.service" version 13.0.0.Alpha1-SNAPSHOT from local module loader @2812cbfa (finder: local module finder @2acf57e3 (roots: /Users/rhusar/git/wildfly/build/target/wildfly-13.0.0.Alpha1-SNAPSHOT/modules,/Users/rhusar/git/wildfly/build/target/wildfly-13.0.0.Alpha1-SNAPSHOT/modules/system/layers/base))]]
> at org.jboss.as.naming.InitialContext.getDefaultInitCtx(InitialContext.java:120)
> at org.jboss.as.naming.InitialContext.init(InitialContext.java:101)
> at javax.naming.ldap.InitialLdapContext.<init>(InitialLdapContext.java:154)
> at org.jboss.as.naming.InitialContext.<init>(InitialContext.java:91)
> at org.jboss.as.naming.InitialContextFactory.getInitialContext(InitialContextFactory.java:43)
> at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684)
> at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:313)
> at javax.naming.InitialContext.init(InitialContext.java:244)
> at javax.naming.InitialContext.<init>(InitialContext.java:216)
> at javax.naming.directory.InitialDirContext.<init>(InitialDirContext.java:101)
> at org.jgroups.protocols.dns.DefaultDNSResolver.<init>(DefaultDNSResolver.java:40)
> at org.jgroups.protocols.dns.DNS_PING.init(DNS_PING.java:54)
> at org.jgroups.stack.ProtocolStack.initProtocolStack(ProtocolStack.java:840)
> at org.jgroups.stack.ProtocolStack.init(ProtocolStack.java:830)
> at org.jgroups.JChannel.<init>(JChannel.java:200)
> at org.jboss.as.clustering.jgroups.JChannelFactory.createChannel(JChannelFactory.java:108)
> at org.jboss.as.clustering.jgroups.subsystem.ChannelBuilder.start(ChannelBuilder.java:98)
> ... 7 more
> Caused by: java.lang.ClassNotFoundException: com.sun.jndi.dns.DnsContextFactory from [Module "org.wildfly.clustering.service" version 13.0.0.Alpha1-SNAPSHOT from local module loader @2812cbfa (finder: local module finder @2acf57e3 (roots: /Users/rhusar/git/wildfly/build/target/wildfly-13.0.0.Alpha1-SNAPSHOT/modules,/Users/rhusar/git/wildfly/build/target/wildfly-13.0.0.Alpha1-SNAPSHOT/modules/system/layers/base))]
> at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:255)
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:410)
> at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
> at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:348)
> at org.jboss.as.naming.InitialContext.getDefaultInitCtx(InitialContext.java:115)
> ... 23 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 2 months