My custom sun.net.spi.nameservice.NameService not respected

Solution Verified - Updated -

Issue

  • My custom name service1 is not loaded properly on EAP. It works on standalone Java.

  1. Name services like DNS can be customized by implementing sun.net.spi.nameservice.NameService and specifying it by system property sun.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.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.