harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Ellison (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-6129) [classlib][rmi] org.apache.harmony.rmi.ConnectionTest fails
Date Thu, 26 Mar 2009 13:31:01 GMT
[classlib][rmi] org.apache.harmony.rmi.ConnectionTest fails
-----------------------------------------------------------

                 Key: HARMONY-6129
                 URL: https://issues.apache.org/jira/browse/HARMONY-6129
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
    Affects Versions: 5.0M9
         Environment: Linux only
            Reporter: Tim Ellison


JUnit test failure:
java.io.EOFException
at org.apache.harmony.rmi.common.SubProcess.expect(SubProcess.java:757)
at org.apache.harmony.rmi.common.SubProcess.expect(SubProcess.java:601)
at org.apache.harmony.rmi.common.SubProcess.expect(SubProcess.java:572)
at org.apache.harmony.rmi.common.SubProcess.expect(SubProcess.java:554)
at org.apache.harmony.rmi.ConnectionTest.testSingleVM(ConnectionTest.java:156)
at org.apache.harmony.rmi.ConnectionTest.testDirectHTTP_SingleVM(ConnectionTest.java:102)
at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)

The following was written to the stderr:

testDirectHTTP_SingleVM starting
Test server started.
Object: MyRemoteObject[UnicastServerRef[endpoint:[[9.20.181.102:54504]](local), ObjID[65536,
UID[29a7d899:12042e9daaa:-8000]]]] created and exported.
Test server closing.
Child process (child, 1) failed: java.rmi.server.ExportException: Unable to export object:
port 1099 already in use; nested exception is:
	java.net.BindException: The address is not available
	at org.apache.harmony.rmi.remoteref.UnicastServerRef.exportObject(UnicastServerRef.java:351)
	at org.apache.harmony.rmi.server.ExportManager.exportObject(ExportManager.java:149)
	at org.apache.harmony.rmi.registry.RegistryImpl.<init>(RegistryImpl.java:137)
	at java.rmi.registry.LocateRegistry.createRegistry(LocateRegistry.java:63)
	at java.rmi.registry.LocateRegistry.createRegistry(LocateRegistry.java:131)
	at org.apache.harmony.rmi.ConnectionTest.initServer(ConnectionTest.java:175)
	at org.apache.harmony.rmi.ConnectionTest.runTestSingle(ConnectionTest.java:372)
	at org.apache.harmony.rmi.ConnectionTest.main(ConnectionTest.java:417)
Caused by: java.net.BindException: The address is not available
	at org.apache.harmony.luni.platform.OSNetworkSystem.bind(OSNetworkSystem.java)
	at org.apache.harmony.luni.net.PlainSocketImpl.bind(PlainSocketImpl.java:178)
	at java.net.ServerSocket.<init>(ServerSocket.java:119)
	at java.net.ServerSocket.<init>(ServerSocket.java:75)
	at org.apache.harmony.rmi.transport.proxy.HttpServerSocket.<init>(HttpServerSocket.java:54)
	at org.apache.harmony.rmi.transport.proxy.HttpProxyRMISocketFactory.createServerSocket(HttpProxyRMISocketFactory.java:112)
	at org.apache.harmony.rmi.transport.DefaultRMISocketFactory.createServerSocket(DefaultRMISocketFactory.java:210)
	at org.apache.harmony.rmi.transport.Endpoint.createServerSocket(Endpoint.java:151)
	at org.apache.harmony.rmi.server.ServerConnectionManager.<init>(ServerConnectionManager.java:102)
	at org.apache.harmony.rmi.server.ServerConnectionManager.getMgr(ServerConnectionManager.java:134)
	at org.apache.harmony.rmi.remoteref.UnicastServerRef.exportObject(UnicastServerRef.java:346)
	at org.apache.harmony.rmi.server.ExportManager.exportObject(ExportManager.java:149)
	... 6 more



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message