-
Bug
-
Resolution: Fixed
-
P4
-
9
-
b145
com/sun/corba is not in exclusiveAccess.dirs, and there's test start orbd service. If test run concurrently with other tests that start&use "orbd" service, "address in use" are likely to happen.
To demonstrate this issue, run below tests with -conc:2
-agentvm -conc:2 \
ws/jdk/test/com/sun/corba/cachedSocket/7056731.sh \
ws/jdk/test/javax/rmi/PortableRemoteObject/ConcurrentHashMapTest.java
ConcurrentHashMapTest (is likely to) fail with:
SEVERE: "IOP00410216: (COMM_FAILURE) Unable to create listener thread on the specified port: 1049"
...
Caused by: java.net.BindException: Address already in use
com/sun/corba (or at least com/sun/corba/cachedSocket) should be added into exclusiveAccess.dirs
To demonstrate this issue, run below tests with -conc:2
-agentvm -conc:2 \
ws/jdk/test/com/sun/corba/cachedSocket/7056731.sh \
ws/jdk/test/javax/rmi/PortableRemoteObject/ConcurrentHashMapTest.java
ConcurrentHashMapTest (is likely to) fail with:
SEVERE: "IOP00410216: (COMM_FAILURE) Unable to create listener thread on the specified port: 1049"
...
Caused by: java.net.BindException: Address already in use
com/sun/corba (or at least com/sun/corba/cachedSocket) should be added into exclusiveAccess.dirs
- relates to
-
JDK-8161666 javax/rmi/PortableRemoteObject/ConcurrentHashMapTest.java failed because of java.net.ConnectException: Connection refused
-
- Closed
-