-
Bug
-
Resolution: Fixed
-
P3
-
1.3.1_11
-
12
-
generic
-
linux_redhat_3.0
-
Verified
Execution failed with exception for sun/rmi/transport/tcp/DeadCachedConnection.java while run regression test on RHEL 3.0 AS with jdk1.3.1_11.
The test was runnning on bigapp-l11 machine with Red Hat Enterprise Linux AS release 3 (Taroon) on it.
Jdk location: /net/koori.sfbay/p/v11/jdk/1.3.1_11/fcs/b02/bundles/linux-i586
Regression test suite location: /net/shiva/test/MyTestArea/JDK1.3.1/workspace_131/test
DeadCachedConnection.jtr is attached below:
#Test Results (version 2)
#Wed Feb 04 09:49:58 PST 2004
#checksum:206ab35d3dfbf79e
#-----testdescription-----
$file=/.automount/shiva/root/test/MyTestArea/JDK1.3.1/workspace_131/test/sun/rmi/transport/tcp/DeadCachedConnection.java
$root=/.automount/shiva/root/test/MyTestArea/JDK1.3.1/workspace_131/test
keywords=bug4094891 othervm
library=../../../../java/rmi/testlibrary
run=USER_SPECIFIED build DeadCachedConnection\nUSER_SPECIFIED main/othervm DeadCachedConnection\n
source=DeadCachedConnection.java
title=unable to retry call if cached connection to server is used
#-----environment-----
#-----testresult-----
description=file:///.automount/shiva/root/test/MyTestArea/JDK1.3.1/workspace_131/test/sun/rmi/transport/tcp/DeadCachedConnection.java
end=Wed Feb 04 09:49:58 PST 2004
environment=regtest
execStatus=Failed. Execution failed: `main' threw exception: java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is: java.net.ConnectException: Connection refused
javatestOS=Linux 2.4.21-4.ELsmp (i386)
javatestVersion=2.1.6
script=com.sun.javatest.regtest.RegressionScript
sections=script_messages build build main
start=Wed Feb 04 09:49:43 PST 2004
status=Failed. Execution failed: `main' threw exception: java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is: java.net.ConnectException: Connection refused
test=sun/rmi/transport/tcp/DeadCachedConnection.java
work=/root/Luda/Regression/RHELAS3.0/auto/JTwork/sun/rmi/transport/tcp
#section:script_messages
----------messages:(4/194)----------
JDK under test: (/usr/java/jdk1.3.1_11)
java version "1.3.1_11"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_11-b02)
Java HotSpot(TM) Client VM (build 1.3.1_11-b02, mixed mode)
#section:build
----------messages:(3/130)----------
command: build DeadCachedConnection
reason: User specified action: run build DeadCachedConnection
elapsed time (seconds): 0.014
result: Passed. No need to compile: DeadCachedConnection.java
#section:build
----------messages:(3/104)----------
command: build DeadCachedConnection
reason: Named class compiled on demand
elapsed time (seconds): 0.0
result: Passed. No need to compile: DeadCachedConnection.java
#section:main
----------messages:(3/136)----------
command: main DeadCachedConnection
reason: User specified action: run main/othervm DeadCachedConnection
elapsed time (seconds): 15.038
----------System.out:(0/0)----------
----------System.err:(56/3363)----------
Starting registry on port 17340
JAVAVM: command = /usr/java/jdk1.3.1_11/jre/bin/java sun.rmi.registry.RegistryImpl 17340
JAVAVM: finished starting vm.
Locating just-started registry...
Connecting to registry...
Killing registry...
Restarting registry...
JAVAVM: command = /usr/java/jdk1.3.1_11/jre/bin/java sun.rmi.registry.RegistryImpl 17340
# java.rmi.server.ExportException: Port already in use: 17340; nested exception is:
# java.net.BindException: Address already in use
# java.net.BindException: Address already in use
# at java.net.PlainSocketImpl.socketBind(Native Method)
# at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:447)
# at java.net.ServerSocket.<init>(ServerSocket.java:165)
# at java.net.ServerSocket.<init>(ServerSocket.java:77)
# at sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(RMIDirectSocketFactory.java:25)
# at sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(RMIMasterSocketFactory.java:307)
# at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:554)
# at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:217)
# at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:171)
# at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:314)
# at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:114)
# at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:120)
# at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:90)
# at sun.rmi.registry.RegistryImpl.<init>(RegistryImpl.java:76)
# at sun.rmi.registry.RegistryImpl.main(RegistryImpl.java:315)
JAVAVM: finished starting vm.
Trying to use registry in spite of stale cache...
java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:
java.net.ConnectException: Connection refused
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:350)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:137)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:124)
at java.net.Socket.<init>(Socket.java:268)
at java.net.Socket.<init>(Socket.java:95)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:20)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:115)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:494)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:169)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:313)
at sun.rmi.registry.RegistryImpl_Stub.list(Unknown Source)
at DeadCachedConnection.main(DeadCachedConnection.java:65)
at java.lang.reflect.Method.invoke(Native Method)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:83)
at java.lang.Thread.run(Thread.java:479)
JavaTest Message: Test threw exception: java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:
java.net.ConnectException: Connection refused
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is: java.net.ConnectException: Connection refused
result: Failed. Execution failed: `main' threw exception: java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is: java.net.ConnectException: Connection refused
test result: Failed. Execution failed: `main' threw exception: java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is: java.net.ConnectException: Connection refused
The further investigation shows that test is passed with 1.3.1_09 version of jdk, but failed with 1.3.1_10 and 1.3.1_11 on the same machine.
###@###.### 2004-02-09
The test was runnning on bigapp-l11 machine with Red Hat Enterprise Linux AS release 3 (Taroon) on it.
Jdk location: /net/koori.sfbay/p/v11/jdk/1.3.1_11/fcs/b02/bundles/linux-i586
Regression test suite location: /net/shiva/test/MyTestArea/JDK1.3.1/workspace_131/test
DeadCachedConnection.jtr is attached below:
#Test Results (version 2)
#Wed Feb 04 09:49:58 PST 2004
#checksum:206ab35d3dfbf79e
#-----testdescription-----
$file=/.automount/shiva/root/test/MyTestArea/JDK1.3.1/workspace_131/test/sun/rmi/transport/tcp/DeadCachedConnection.java
$root=/.automount/shiva/root/test/MyTestArea/JDK1.3.1/workspace_131/test
keywords=bug4094891 othervm
library=../../../../java/rmi/testlibrary
run=USER_SPECIFIED build DeadCachedConnection\nUSER_SPECIFIED main/othervm DeadCachedConnection\n
source=DeadCachedConnection.java
title=unable to retry call if cached connection to server is used
#-----environment-----
#-----testresult-----
description=file:///.automount/shiva/root/test/MyTestArea/JDK1.3.1/workspace_131/test/sun/rmi/transport/tcp/DeadCachedConnection.java
end=Wed Feb 04 09:49:58 PST 2004
environment=regtest
execStatus=Failed. Execution failed: `main' threw exception: java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is: java.net.ConnectException: Connection refused
javatestOS=Linux 2.4.21-4.ELsmp (i386)
javatestVersion=2.1.6
script=com.sun.javatest.regtest.RegressionScript
sections=script_messages build build main
start=Wed Feb 04 09:49:43 PST 2004
status=Failed. Execution failed: `main' threw exception: java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is: java.net.ConnectException: Connection refused
test=sun/rmi/transport/tcp/DeadCachedConnection.java
work=/root/Luda/Regression/RHELAS3.0/auto/JTwork/sun/rmi/transport/tcp
#section:script_messages
----------messages:(4/194)----------
JDK under test: (/usr/java/jdk1.3.1_11)
java version "1.3.1_11"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_11-b02)
Java HotSpot(TM) Client VM (build 1.3.1_11-b02, mixed mode)
#section:build
----------messages:(3/130)----------
command: build DeadCachedConnection
reason: User specified action: run build DeadCachedConnection
elapsed time (seconds): 0.014
result: Passed. No need to compile: DeadCachedConnection.java
#section:build
----------messages:(3/104)----------
command: build DeadCachedConnection
reason: Named class compiled on demand
elapsed time (seconds): 0.0
result: Passed. No need to compile: DeadCachedConnection.java
#section:main
----------messages:(3/136)----------
command: main DeadCachedConnection
reason: User specified action: run main/othervm DeadCachedConnection
elapsed time (seconds): 15.038
----------System.out:(0/0)----------
----------System.err:(56/3363)----------
Starting registry on port 17340
JAVAVM: command = /usr/java/jdk1.3.1_11/jre/bin/java sun.rmi.registry.RegistryImpl 17340
JAVAVM: finished starting vm.
Locating just-started registry...
Connecting to registry...
Killing registry...
Restarting registry...
JAVAVM: command = /usr/java/jdk1.3.1_11/jre/bin/java sun.rmi.registry.RegistryImpl 17340
# java.rmi.server.ExportException: Port already in use: 17340; nested exception is:
# java.net.BindException: Address already in use
# java.net.BindException: Address already in use
# at java.net.PlainSocketImpl.socketBind(Native Method)
# at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:447)
# at java.net.ServerSocket.<init>(ServerSocket.java:165)
# at java.net.ServerSocket.<init>(ServerSocket.java:77)
# at sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(RMIDirectSocketFactory.java:25)
# at sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(RMIMasterSocketFactory.java:307)
# at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:554)
# at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:217)
# at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:171)
# at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:314)
# at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:114)
# at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:120)
# at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:90)
# at sun.rmi.registry.RegistryImpl.<init>(RegistryImpl.java:76)
# at sun.rmi.registry.RegistryImpl.main(RegistryImpl.java:315)
JAVAVM: finished starting vm.
Trying to use registry in spite of stale cache...
java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:
java.net.ConnectException: Connection refused
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:350)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:137)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:124)
at java.net.Socket.<init>(Socket.java:268)
at java.net.Socket.<init>(Socket.java:95)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:20)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:115)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:494)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:169)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:313)
at sun.rmi.registry.RegistryImpl_Stub.list(Unknown Source)
at DeadCachedConnection.main(DeadCachedConnection.java:65)
at java.lang.reflect.Method.invoke(Native Method)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:83)
at java.lang.Thread.run(Thread.java:479)
JavaTest Message: Test threw exception: java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:
java.net.ConnectException: Connection refused
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is: java.net.ConnectException: Connection refused
result: Failed. Execution failed: `main' threw exception: java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is: java.net.ConnectException: Connection refused
test result: Failed. Execution failed: `main' threw exception: java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is: java.net.ConnectException: Connection refused
The further investigation shows that test is passed with 1.3.1_09 version of jdk, but failed with 1.3.1_10 and 1.3.1_11 on the same machine.
###@###.### 2004-02-09
- relates to
-
JDK-4094891 activation: unable to retry call if cached connection to server is used
- Closed