-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
9
java/rmi/activation/rmidViaInheritedChannel/InheritedChannelNotServerSocket.java fails intermittently with following error message:
Activation.main: warning: sun.rmi.activation.execPolicy system
property unspecified and no ExecPermissions/ExecOptionPermissions
granted; subsequent activation attempts may fail due to unsuccessful
ExecPermission/ExecOptionPermission permission checks. For
documentation on how to configure rmid security, refer to:
http://java.sun.com/j2se/1.4/docs/tooldocs/solaris/rmid.html
http://java.sun.com/j2se/1.4/docs/tooldocs/win32/rmid.html
Activation.main: an exception occurred: java.rmi.server.ExportException: Port already in use: 60003; nested exception is:
java.net.BindException: Address already in use: NET_Bind
java.rmi.server.ExportException: Port already in use: 60003; nested exception is:
java.net.BindException: Address already in use: NET_Bind
at sun.rmi.transport.tcp.TCPTransport.listen(java.rmi@9-ea/TCPTransport.java:336)
at sun.rmi.transport.tcp.TCPTransport.exportObject(java.rmi@9-ea/TCPTransport.java:244)
at sun.rmi.transport.tcp.TCPEndpoint.exportObject(java.rmi@9-ea/TCPEndpoint.java:411)
at sun.rmi.transport.LiveRef.exportObject(java.rmi@9-ea/LiveRef.java:147)
at sun.rmi.server.UnicastServerRef.exportObject(java.rmi@9-ea/UnicastServerRef.java:206)
at sun.rmi.server.Activation$ActivatorImpl.<init>(java.rmi@9-ea/Activation.java:428)
at sun.rmi.server.Activation.init(java.rmi@9-ea/Activation.java:250)
at sun.rmi.server.Activation.startActivation(java.rmi@9-ea/Activation.java:219)
at sun.rmi.server.Activation.main(java.rmi@9-ea/Activation.java:2111)
Caused by: java.net.BindException: Address already in use: NET_Bind
at java.net.DualStackPlainSocketImpl.bind0(java.base@9-ea/Native Method)
at java.net.DualStackPlainSocketImpl.socketBind(java.base@9-ea/DualStackPlainSocketImpl.java:106)
at java.net.AbstractPlainSocketImpl.bind(java.base@9-ea/AbstractPlainSocketImpl.java:442)
at java.net.PlainSocketImpl.bind(java.base@9-ea/PlainSocketImpl.java:198)
at java.net.ServerSocket.bind(java.base@9-ea/ServerSocket.java:376)
at java.net.ServerSocket.<init>(java.base@9-ea/ServerSocket.java:238)
at java.net.ServerSocket.<init>(java.base@9-ea/ServerSocket.java:130)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(java.rmi@9-ea/RMIDirectSocketFactory.java:45)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(java.rmi@9-ea/RMIMasterSocketFactory.java:341)
at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(java.rmi@9-ea/TCPEndpoint.java:666)
at sun.rmi.transport.tcp.TCPTransport.listen(java.rmi@9-ea/TCPTransport.java:325)
... 8 more
Activation.main: warning: sun.rmi.activation.execPolicy system
property unspecified and no ExecPermissions/ExecOptionPermissions
granted; subsequent activation attempts may fail due to unsuccessful
ExecPermission/ExecOptionPermission permission checks. For
documentation on how to configure rmid security, refer to:
http://java.sun.com/j2se/1.4/docs/tooldocs/solaris/rmid.html
http://java.sun.com/j2se/1.4/docs/tooldocs/win32/rmid.html
Activation.main: an exception occurred: java.rmi.server.ExportException: Port already in use: 60003; nested exception is:
java.net.BindException: Address already in use: NET_Bind
java.rmi.server.ExportException: Port already in use: 60003; nested exception is:
java.net.BindException: Address already in use: NET_Bind
at sun.rmi.transport.tcp.TCPTransport.listen(java.rmi@9-ea/TCPTransport.java:336)
at sun.rmi.transport.tcp.TCPTransport.exportObject(java.rmi@9-ea/TCPTransport.java:244)
at sun.rmi.transport.tcp.TCPEndpoint.exportObject(java.rmi@9-ea/TCPEndpoint.java:411)
at sun.rmi.transport.LiveRef.exportObject(java.rmi@9-ea/LiveRef.java:147)
at sun.rmi.server.UnicastServerRef.exportObject(java.rmi@9-ea/UnicastServerRef.java:206)
at sun.rmi.server.Activation$ActivatorImpl.<init>(java.rmi@9-ea/Activation.java:428)
at sun.rmi.server.Activation.init(java.rmi@9-ea/Activation.java:250)
at sun.rmi.server.Activation.startActivation(java.rmi@9-ea/Activation.java:219)
at sun.rmi.server.Activation.main(java.rmi@9-ea/Activation.java:2111)
Caused by: java.net.BindException: Address already in use: NET_Bind
at java.net.DualStackPlainSocketImpl.bind0(java.base@9-ea/Native Method)
at java.net.DualStackPlainSocketImpl.socketBind(java.base@9-ea/DualStackPlainSocketImpl.java:106)
at java.net.AbstractPlainSocketImpl.bind(java.base@9-ea/AbstractPlainSocketImpl.java:442)
at java.net.PlainSocketImpl.bind(java.base@9-ea/PlainSocketImpl.java:198)
at java.net.ServerSocket.bind(java.base@9-ea/ServerSocket.java:376)
at java.net.ServerSocket.<init>(java.base@9-ea/ServerSocket.java:238)
at java.net.ServerSocket.<init>(java.base@9-ea/ServerSocket.java:130)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(java.rmi@9-ea/RMIDirectSocketFactory.java:45)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(java.rmi@9-ea/RMIMasterSocketFactory.java:341)
at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(java.rmi@9-ea/TCPEndpoint.java:666)
at sun.rmi.transport.tcp.TCPTransport.listen(java.rmi@9-ea/TCPTransport.java:325)
... 8 more
- duplicates
-
JDK-8019538 TEST_BUG: java/rmi/activation/rmidViaInheritedChannel tests may fail
- Resolved