JDK-4211057 : Regression test UseCustomSocketFactory.java Failing
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.rmi
  • Affected Version: 1.2.2
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_nt
  • CPU: x86
  • Submitted: 1999-02-11
  • Updated: 1999-02-19
  • Resolved: 1999-02-19
Related Reports
Duplicate :  
Description

Name: maT68022			Date: 02/11/99

Regression test 
java/rmi/server/RMISocketFactory/useSocketFactory/activatable/UseCustomSocketFac
tory.java Failing
#Test Results
#Wed Feb 10 16:27:46 PST 1999
testsuite=O:\\testexec\\REGRESSION\\tests\\jdk1.2\\test
source=UseCustomSocketFactory.java
title=synopsis: cannot use socket factories with Activatable objects
status=Failed. Execution failed: Program `E:/jdk122f\\\\bin\\\\java' 
interrupted! (timed out?)
work=D:\\REGRESSION\\results\\WESCAFE-Windows_NT-harness114-testwith122f-02-10-1
4.30\\java\\rmi\\server\\RMISocketFactory\\useSocketFactory\\activatable
author=Ann Wollrath
library=../../../../testlibrary
execStatus=Failed. Execution failed: Program `E:/jdk122f\\\\bin\\\\java' 
interrupted! (timed out?)
description=file:O:/testexec/REGRESSION/tests/jdk1.2/test/java/rmi/server/RMISoc
ketFactory/useSocketFactory/activatable/UseCustomSocketFactory.java
javatestVersion=JT_2.0_zn
sections=compile compile compile compile compile compile main main
file=O:\\testexec\\REGRESSION\\tests\\jdk1.2\\test\\java\\rmi\\server\\RMISocket
Factory\\useSocketFactory\\activatable\\UseCustomSocketFactory.java
end=Wed Feb 10 16:27:46 PST 1999
bug=4115696
run=1 build Echo\r\n1 build EchoImpl\r\n1 build EchoImpl_Stub\r\n1 build 
UseCustomSocketFactory\r\n1 main/othervm/policy=security.policy/timeout=360 
UseCustomSocketFactory\r\n
start=Wed Feb 10 16:12:46 PST 1999
keywords=4115696 othervm
environment=regtest

test: 
java\rmi\server\RMISocketFactory\useSocketFactory\activatable\UseCustomSocketFac
tory.java
script: javasoft.sqe.javatest.regtest.RegressionScript 
JDK under test: java full version "JDK-1.2.2-F" (E:/jdk122f)
command: build Echo
reason: User specified action: run build Echo 
command: compile 
O:\testexec\REGRESSION\tests\jdk1.2\test\java\rmi\server\RMISocketFactory\useSoc
ketFactory\activatable\Echo.java
reason: .class file out of date or does not exist
----------ref:compile(0/0)----------
----------log:compile(0/0)----------
command: compile result: Passed. Compilation successful
command: build result: Passed. Compilation successful
command: build EchoImpl
reason: User specified action: run build EchoImpl 
command: compile 
O:\testexec\REGRESSION\tests\jdk1.2\test\java\rmi\server\RMISocketFactory\useSoc
ketFactory\activatable\EchoImpl.java
reason: .class file out of date or does not exist
----------ref:compile(0/0)----------
----------log:compile(0/0)----------
command: compile result: Passed. Compilation successful
command: build result: Passed. Compilation successful
command: build EchoImpl_Stub
reason: User specified action: run build EchoImpl_Stub 
command: compile 
O:\testexec\REGRESSION\tests\jdk1.2\test\java\rmi\server\RMISocketFactory\useSoc
ketFactory\activatable\EchoImpl_Stub.java
reason: .class file out of date or does not exist
----------ref:compile(0/0)----------
----------log:compile(0/0)----------
command: compile result: Passed. Compilation successful
command: build result: Passed. Compilation successful
command: build UseCustomSocketFactory
reason: User specified action: run build UseCustomSocketFactory 
command: build result: Passed. No need to compile: UseCustomSocketFactory.java
command: build UseCustomSocketFactory
reason: Named class compiled on demand
command: build result: Passed. No need to compile: UseCustomSocketFactory.java
command: main UseCustomSocketFactory
reason: User specified action: run 
main/othervm/policy=security.policy/timeout=360 UseCustomSocketFactory 
----------ref:main(3/37)----------

Regression test for bug 4115696

----------log:main(25/2592)----------
starting rmid...
command = E:\jdk122f\jre\bin\java  -Dsun.rmi.server.activation.debugExec=true 
-Dtest.src=O:\\testexec\\REGRESSION\\tests\\jdk1.2\\test\\java\\rmi\\server\\RMI
SocketFactory\\useSocketFactory\\activatable  
-Dtest.classes=D:\\REGRESSION\\results\\WESCAFE-Windows_NT-harness114-testwith12
2f-02-10-14.30\\classes\\java\\rmi\\server\\RMISocketFactory\\useSocketFactory\activatable -Djava.rmi.server.logLevel=v  sun.rmi.server.Activation  
-C-Djava.security.policy=O:\\testexec\\REGRESSION\\tests\\jdk1.2\\test\\java\\rm
i\\server\\RMISocketFactory\\useSocketFactory\\activatable\group.security.policy 
-C-Djava.security.manager=java.rmi.RMISecurityManager  -port 1098 -log 
D:\REGRESSION\results\WESCAFE-Windows_NT-harness114-testwith122f-02-10-14.30\scr
atch\.\log 
-C-Dtest.src=O:\\testexec\\REGRESSION\\tests\\jdk1.2\\test\\java\\rmi\\server\\R
MISocketFactory\\useSocketFactory\\activatable 
-C-Dtest.classes=D:\\REGRESSION\\results\\WESCAFE-Windows_NT-harness114-testwith
122f-02-10-14.30\\classes\\java\\rmi\\server\\RMISocketFactory\\useSocketFactory
\\activatable

finished starting vm.
# Activation.main: an exception occurred: Port already in use: 1098; nested 
exception is: 
# 	java.net.BindException: Address in use: bind
# java.rmi.server.ExportException: Port already in use: 1098; nested exception 
is: 
# 	java.net.BindException: Address in use: bind
# java.net.BindException: Address in use: bind
# 	at java.net.PlainSocketImpl.socketBind(Native Method)
# 	at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:390)
# 	at java.net.ServerSocket.<init>(ServerSocket.java:173)
# 	at java.net.ServerSocket.<init>(ServerSocket.java:86)
# 	at 
sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(RMIDirectSocke
tFactory.java:34)
# 	at 
sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(RMIMasterSocke
tFactory.java:316)
# 	at 
sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:548)
# 	at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:258)
# 	at 
sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:189)
# 	at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:323)
# 	at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:123)
# 	at 
sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:118)
# 	at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:97)
# 	at sun.rmi.registry.RegistryImpl.<init>(RegistryImpl.java:83)
# 	at 
java.rmi.registry.LocateRegistry.createRegistry(LocateRegistry.java:171)
# 	at sun.rmi.server.Activation.main(Activation.java:1735)
command: main result: Failed. Execution failed: Program `E:/jdk122f\\bin\\java' 
interrupted! (timed out?)
test result: Failed. Execution failed: Program `E:/jdk122f\\bin\\java' 
interrupted! (timed out?)
======================================================================