Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8182672

Java 8u121 on Linux intermittently returns null for MAC address

    XMLWordPrintable

Details

    • b14
    • Verified

    Backports

      Description

        After updating from Java 8u101 to Java 8u121, Java application running with
        Tomcat shows intermittent failure getting MAC address. The application
        connects to other apps on other systems by using MAC address to resolve IP
        address for connection. Intermittently, a thread will show a null MAC
        address is returned and Tomcat log reports:

        CRITICAL ERROR: ip address is not assigned to a valid ethernet interface.

        The problem does not occur with single CPU/thread. It occurs with multiple
        CPUs/threads, under load.

        The problem is not seen on Windows or MacOSX.

        The problem is seen only on Linux systems using 8u121 or 8u131. The problem
        does not occur when Java 8u101 is used on the same systems with the same
        application version.

        Java 8u121 reproduces the issue at a lesser rate than 8u131. The problem
        takes about 50TPS on 8u121, but needs only a couple threads on 8u131 to
        reproduce it.

        Attachments

          Issue Links

            Activity

              People

                coffeys Sean Coffey
                shadowbug Shadow Bug
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: