-
Bug
-
Resolution: Fixed
-
P2
-
6u18
-
b102
-
sparc
-
solaris_10
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2204960 | 6u25 | Dmitriy Samersoff | P2 | Closed | Fixed | b01 |
JDK-2204271 | 6u24-rev | Dmitriy Samersoff | P2 | Resolved | Fixed | b22 |
JDK-2190103 | 6u22-rev | Dmitriy Samersoff | P2 | Resolved | Fixed | b06 |
java version "1.6.0_18-ea"
Java(TM) SE Runtime Environment (build 1.6.0_18-ea-b05)
Java HotSpot(TM) Server VM (build 16.0-b12, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
SunOS 5.10 Generic_138888-06 sun4v sparc SUNW,Sun-Blade-T6320
A DESCRIPTION OF THE PROBLEM :
We are trying to use jdk1.6.0_18 with Weblogic 11gR1 (10.3.2).
The environment requires configuring a Virtual IP through Veritas Cluster into one of the Solaris 10 local zones.
As soon as the Virtual IP is plumbed in, the Weblogic server fails to come up and the following error is shown.
<BEA-000386> <Server subsystem failed. Reason: java.lang.AssertionError: An error occurred while retrieving the n
etwork addresses for this machine. The most likely cause is an error in the network configuration of this machine.
java.lang.AssertionError: An error occurred while retrieving the network addresses for this machine. The most likely cause is
an error in the network configuration of this machine.
at weblogic.server.channels.AddressUtils$AddressMaker.getAllAddresses(AddressUtils.java:89)
at weblogic.server.channels.AddressUtils$AddressMaker.<clinit>(AddressUtils.java:47)
at weblogic.server.channels.AddressUtils.getLocalHost(AddressUtils.java:117)
at weblogic.cluster.ClusterHelper.getMachineName(ClusterHelper.java:44)
at weblogic.cluster.ClusterService.startService(ClusterService.java:102)
at weblogic.server.ServiceActivator.start(ServiceActivator.java:98)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteRequestAdapter.execute(ExecuteRequestAdapter.java:21)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)
Caused By: java.net.SocketException: No such device or address
at java.net.NetworkInterface.getAll(Native Method)
at java.net.NetworkInterface.getNetworkInterfaces(NetworkInterface.java:282)
at weblogic.server.channels.AddressUtils$AddressMaker.getAllAddresses(AddressUtils.java:57)
at weblogic.server.channels.AddressUtils$AddressMaker.<clinit>(AddressUtils.java:47)
at weblogic.server.channels.AddressUtils.getLocalHost(AddressUtils.java:117)
at weblogic.cluster.ClusterHelper.getMachineName(ClusterHelper.java:44)
at weblogic.cluster.ClusterService.startService(ClusterService.java:102)
at weblogic.server.ServiceActivator.start(ServiceActivator.java:98)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteRequestAdapter.execute(ExecuteRequestAdapter.java:21)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)
The issue has been found to be with one of the core jdk methods...
public static void main(String args[]) throws Exception {
Enumeration niEnum = NetworkInterface.getNetworkInterfaces();
This method fails whenever there is a Virtual IP plumbed into the Solaris container with jdk1.6
The server is able to start without any exception on the container IP as soon as the VIP is unplumbed.
So getNetworkInterfaces is not able to report back Virtual IP addresses on the local zones.
REPRODUCIBILITY :
This bug can be reproduced always.
- backported by
-
JDK-2190103 NetworkInterface is not working when interface name is more than 15 characters long
-
- Resolved
-
-
JDK-2204271 NetworkInterface is not working when interface name is more than 15 characters long
-
- Resolved
-
-
JDK-2204960 NetworkInterface is not working when interface name is more than 15 characters long
-
- Closed
-
- relates to
-
JDK-6964714 NetworkInterface getInetAddresses enumerates IPv6 addresses if java.net.preferIPvStack property set
-
- Closed
-
-
JDK-6972374 NetworkInterface.getNetworkInterfaces throws "java.net.SocketException" on Solaris zone
-
- Closed
-
-
JDK-8039930 java.net.NetworkInterface.getNetworkInterfaces() is not returning vni interfaces
-
- Open
-