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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content