JDK-8085192 : java/rmi/activation/Activatable tests fail intermittently due to "Port already in use"
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.rmi
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-06-04
  • Updated: 2022-12-21
  • Resolved: 2016-10-25
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8 JDK 9
8u301Fixed 9 b143Fixed
Related Reports
Duplicate :  
Duplicate :  
Duplicate :  
Duplicate :  
Duplicate :  
Duplicate :  
Duplicate :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
There are several java/rmi/activation tests ever failed intermittently with error of "Port already in use":

java/rmi/activation/Activatable/checkRegisterInLog/CheckRegisterInLog.java
java/rmi/activation/ActivationSystem/unregisterGroup/UnregisterGroup.java
java/rmi/activation/Activatable/downloadParameterClass/DownloadParameterClass.java
java/rmi/activation/ActivationGroup/downloadActivationGroup/DownloadActivationGroup.java
java/rmi/activation/Activatable/restartCrashedService/RestartCrashedService.java
java/rmi/activation/Activatable/restartLatecomer/RestartLatecomer.java
java/rmi/activation/Activatable/nestedActivate/NestedActivate.java
java/rmi/activation/Activatable/checkImplClassLoader/CheckImplClassLoader.java
java/rmi/activation/Activatable/inactiveGroup/InactiveGroup.java

java/rmi/activation/ActivationSystem/stubClassesPermitted/StubClassesPermitted.java
    also reported in JDK-8051954
java/rmi/activation/ActivationSystem/modifyDescriptor/ModifyDescriptor.java
    also reported in JDK-8076638
java/rmi/activation/ActivationSystem/activeGroup/IdempotentActiveGroup.java
    also reported in JDK-8049309
java/rmi/activation/Activatable/lookupActivationSystem/LookupActivationSystem.java
    also reported in JDK-8079758
java/rmi/activation/Activatable/restartService/RestartService.java
   also reported in JDK-8043707


Comments
Adding jdk8u-needs-pr. This fix needs to be rebased on to the current GitHub 8u-dev repository - https://github.com/openjdk/jdk8u-dev - and reviewed there before being approved and integrated.
14-04-2022

8u code review: https://mail.openjdk.java.net/pipermail/jdk8u-dev/2021-May/013923.html
27-05-2021

URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/a80fd00b0cd0 User: lana Date: 2016-11-03 02:18:06 +0000
03-11-2016

URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/a80fd00b0cd0 User: chegar Date: 2016-10-25 09:49:38 +0000
25-10-2016

RFR: http://mail.openjdk.java.net/pipermail/core-libs-dev/2016-September/043780.html
28-09-2016

java/rmi/activation/Activatable/createPrivateActivable/CreatePrivateActivatable.java failed with same reason.
13-06-2016

java/rmi/activation/rmidViaInheritedChannel/RmidViaInheritedChannel.java also fails with "BindException: Address already in use" error.
09-06-2016