My custom sun.net.spi.nameservice.NameService not respected
Issue
- My custom name service1 is not loaded properly on EAP. It works on standalone Java.
-
Name services like DNS can be customized by implementing
sun.net.spi.nameservice.NameServiceand specifying it by system propertysun.net.spi.nameservice.provider.<n>. See the following documentation for the detail.
Oracle Java SE Documentation | Networking Properties ↩
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
- 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
