JDK-8076638 : rmi activation ModifyDescriptor test intermitently failing with port already in use
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.rmi
  • Affected Version: 9
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2015-04-03
  • Updated: 2016-11-18
  • Resolved: 2016-11-18
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.
Other
tbd_minorResolved
Related Reports
Duplicate :  
Relates :  
Description
Exception: java.net.BindException: Address already in use

Activation.main: an exception occurred: java.rmi.server.ExportException: Port already in use: 36282; nested exception is: 
	java.net.BindException: Address already in use
java.rmi.server.ExportException: Port already in use: 36282; nested exception is: 
	java.net.BindException: Address already in use
	at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:336)
	at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:244)
	at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:411)
	at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:147)
	at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:206)
	at sun.rmi.server.Activation$ActivatorImpl.<init>(Activation.java:428)
	at sun.rmi.server.Activation.init(Activation.java:250)
	at sun.rmi.server.Activation.startActivation(Activation.java:219)
	at sun.rmi.server.Activation.main(Activation.java:2111)
Caused by: java.net.BindException: Address already in use
	at java.net.PlainSocketImpl.socketBind(Native Method)
	at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:382)
	at java.net.ServerSocket.bind(ServerSocket.java:376)
	at java.net.ServerSocket.<init>(ServerSocket.java:238)
	at java.net.ServerSocket.<init>(ServerSocket.java:130)
	at sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(RMIDirectSocketFactory.java:45)
	at sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(RMIMasterSocketFactory.java:341)
	at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:666)
	at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:325)
	... 8 more
TEST FAILED: Rmid process exited with status 1 after 403ms.