]
RH Bugzilla Integration commented on WFCORE-1998:
-------------------------------------------------
Osamu Nagano <onagano(a)redhat.com> changed the Status of [bug
Custom NameService by sun.net.spi.nameservice.provider.n doesn't
work on WildFly
--------------------------------------------------------------------------------
Key: WFCORE-1998
URL:
https://issues.jboss.org/browse/WFCORE-1998
Project: WildFly Core
Issue Type: Bug
Components: Modules
Affects Versions: 2.2.0.Final
Reporter: Osamu Nagano
Assignee: Osamu Nagano
Labels: downstream_dependency
Fix For: 3.0.0.Alpha13
Attachments: nameserviceProviderTest.zip
System property {{sun.net.spi.nameservice.provider.<n>}} allows a user to customize
a NameService. It works on a standalone java, which is using JBoss Modules, if
{{services="import"}} is added on sun.jdk module dependency and the sun.jdk
module has the following additional dependencies.
{code}
<path name="sun/net/spi/nameservice"/>
<path name="sun/net/spi/nameservice/dns"/>
{code}
Though it doesn't work as a web application which has the same module path and the
same dependency in jboss-deployment-structure.xml.