commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Carman (JIRA)" <j...@apache.org>
Subject [jira] Created: (PROXY-3) RMI Test Case Failures on Linux
Date Sat, 06 Oct 2007 17:11:50 GMT
RMI Test Case Failures on Linux
-------------------------------

                 Key: PROXY-3
                 URL: https://issues.apache.org/jira/browse/PROXY-3
             Project: Commons Proxy
          Issue Type: Bug
         Environment: Operating System:

Linux version 2.6.20-1.2962.fc6 (brewbuilder@ls20-bc2-14.build.redhat.com) (gcc
version 4.1.1 20070105 (Red Hat 4.1.1-51)) #1 SMP Tue Jun 19 19:27:14 EDT 2007

Java Version:
java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing)

            Reporter: James Carman
            Assignee: James Carman


The RMI test case fails with the following message:

testGetObjectWithInvalidName(org.apache.commons.proxy.provider.TestRmiProvider)
 Time elapsed: 0.005 sec  <<< ERROR!
java.rmi.server.ExportException: Port already in use: 13099; nested exception is
:
        java.net.BindException: Address already in use
        at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:310)
        at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:218
)
        at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:393)
        at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:129)
        at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:19
0)
        at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.
java:293)
        at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.
java:235)
        at java.rmi.server.UnicastRemoteObject.<init>(UnicastRemoteObject.java:1
33)
        at org.apache.commons.proxy.util.rmi.RmiEchoImpl.<init>(RmiEchoImpl.java
:31)
        at org.apache.commons.proxy.provider.TestRmiProvider.setUpRegistry(TestR
miProvider.java:49)
        at org.apache.commons.proxy.provider.TestRmiProvider.testGetObjectWithIn
validName(TestRmiProvider.java:106)
Caused by: java.net.BindException: Address already in use
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
        at java.net.ServerSocket.bind(ServerSocket.java:319)
        at java.net.ServerSocket.<init>(ServerSocket.java:185)
        at java.net.ServerSocket.<init>(ServerSocket.java:97)
        at sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(RMI
DirectSocketFactory.java:27)
        at sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(RMI
MasterSocketFactory.java:333)
        at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:64
9)
        at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:299)
        ... 35 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