JDK Datagram APIs, for e.g connect is not throwing exception if port is unreachable.
Sun GlassFish Communications Server is facing issue where its failover functionality is not working due to the fact that
Datagram connect doesn't throw exception in case i/p and/or port are not reachable.
we need to get some sort of exception or some indication that port specified is unreachable.
attached sample program, we expect the test program to throw IOException but its not.
please investigate and provide some solution as early as possible.
what is expected jdk will get ICMP packets for destination unreachable,catch those packets and throw IOException on connect and send.
please contact me for any more details
gajanan. extn: 27620 (IEC).
Sun GlassFish Communications Server is facing issue where its failover functionality is not working due to the fact that
Datagram connect doesn't throw exception in case i/p and/or port are not reachable.
we need to get some sort of exception or some indication that port specified is unreachable.
attached sample program, we expect the test program to throw IOException but its not.
please investigate and provide some solution as early as possible.
what is expected jdk will get ICMP packets for destination unreachable,catch those packets and throw IOException on connect and send.
please contact me for any more details
gajanan. extn: 27620 (IEC).
- relates to
-
JDK-6863527 Description of PortUnreachableException should link to verbage in connect method
-
- Open
-