IBM Support

PK04516: SUN.NET.SPI.NAMESERVICE.NAMESERVERS DOESN'T WORK ON IBM JDK

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Customer is not able to use external dns specified on the
    command line. Using -Dsun.net.spi.nameservice.provider.1
    =dns,sun -Dsun.net.spi.nameservice.nameservers=
    Normally when an IP address/hostname is queries via
    InetAddress api's they are done via system configuered DNS.
    If a customer for some security reason needs to use a
    different dns other then configuered in the system then SUN
    provides a command line option where in you can specify the
    IP address of the DNS.
    

Local fix

Problem summary

  • Customer is not able to use external dns specified on the
    command line. Using -Dsun.net.spi.nameservice.provider.1
    =dns,sun -Dsun.net.spi.nameservice.nameservers=
    Normally when an IP address/hostname is queries via
    InetAddress api's they are done via system configuered DNS.
    If a customer for some security reason needs to use a
    different dns other then configuered in the system then SUN
    provides a command line option where in you can specify the
    IP address of the DNS.
    

Problem conclusion

  • Need to add a service provider file in META-INF folder of
    core.jar. The service provider file is already present in the
    codebase and changes are need to intergrate the file in to
    core.jar.
    .
    To obtain the fix:
    Install build 20050415 or later
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK04516

  • Reported component name

    JAVA(1.3/1.4 CO

  • Reported component ID

    5648C9800

  • Reported release

    42A

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2005-04-20

  • Closed date

    2005-04-20

  • Last modified date

    2005-04-20

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    JAVA(1.3/1.4 CO

  • Fixed component ID

    5648C9800

Applicable component levels

  • R420 PSN

       UP

  • R42A PSN

       UP

  • R42L PSN

       UP

  • R42W PSN

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SUPPORT","label":"IBM Worldwide Support"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.4.2","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
09 February 2022