Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8080643

javax/rmi/PortableRemoteObject/ConcurrentHashMapTest.java fails intermittently with BindException

    Details

      Description

      javax/rmi/PortableRemoteObject/ConcurrentHashMapTest.java fails intermittently with:
      java.net.BindException: Address already in use

      ----------System.out:(9/861)----------

      Starting orbd on port 1050
      ConcurrentHashMapTest: Executing: [/scratch/aurora/sandbox_keepme/jdk/bin/orbd, -ORBInitialHost, localhost, -ORBInitialPort, 1050]

      Starting RmiServer
      ConcurrentHashMapTest: Executing: [/scratch/aurora/sandbox_keepme/jdk/bin/java, -Djava.naming.factory.initial=com.sun.jndi.cosnaming.CNCtxFactory, -Djava.naming.provider.url=iiop://localhost:1050, -cp, /scratch/aurora/sandbox_keepme/jtreg/lib/javatest.jar:/scratch/aurora/sandbox_keepme/jtreg/lib/jtreg.jar:/scratch/aurora/sandbox_keepme/results/run_244/testoutput/tier2/JTwork/classes/4/javax/rmi/PortableRemoteObject:/scratch/aurora/sandbox_keepme/testbase/jdk/test/javax/rmi/PortableRemoteObject:/scratch/aurora/sandbox_keepme/results/run_244/testoutput/tier2/JTwork/classes/4/lib/testlibrary, HelloServer]
      HelloClient.main: enter ...
      serverProcess exitCode:143
      orbd exitCode:0
      ----------System.err:(822/64230)----------
      May 11, 2015 11:32:36 PM com.sun.corba.se.impl.transport.SocketOrChannelAcceptorImpl initialize
      SEVERE: "IOP00410216: (COMM_FAILURE) Unable to create listener thread on the specified port: 1050"
      org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 216 completed: No
      at com.sun.corba.se.impl.logging.ORBUtilSystemException.createListenerFailed(ORBUtilSystemException.java:2632)
      at com.sun.corba.se.impl.logging.ORBUtilSystemException.createListenerFailed(ORBUtilSystemException.java:2651)
      at com.sun.corba.se.impl.transport.SocketOrChannelAcceptorImpl.initialize(SocketOrChannelAcceptorImpl.java:164)
      at com.sun.corba.se.impl.transport.CorbaTransportManagerImpl.getAcceptors(CorbaTransportManagerImpl.java:217)
      at com.sun.corba.se.impl.transport.CorbaTransportManagerImpl.addToIORTemplate(CorbaTransportManagerImpl.java:235)
      at com.sun.corba.se.spi.oa.ObjectAdapterBase.initializeTemplate(ObjectAdapterBase.java:122)
      at com.sun.corba.se.impl.oa.toa.TOAImpl.<init>(TOAImpl.java:96)
      at com.sun.corba.se.impl.oa.toa.TOAFactory.getTOA(TOAFactory.java:90)
      at com.sun.corba.se.impl.orb.ORBImpl.connect(ORBImpl.java:1626)
      at com.sun.corba.se.impl.activation.RepositoryImpl.<init>(RepositoryImpl.java:94)
      at com.sun.corba.se.impl.activation.ORBD.startActivationObjects(ORBD.java:274)
      at com.sun.corba.se.impl.activation.ORBD.run(ORBD.java:129)
      at com.sun.corba.se.impl.activation.ORBD.main(ORBD.java:343)
      Caused by: java.net.BindException: Address already in use
      at sun.nio.ch.Net.bind0(Native Method)
      at sun.nio.ch.Net.bind(Net.java:433)
      at sun.nio.ch.Net.bind(Net.java:425)
      at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
      at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
      at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:67)
      at com.sun.corba.se.impl.transport.DefaultSocketFactoryImpl.createServerSocket(DefaultSocketFactoryImpl.java:83)
      at com.sun.corba.se.impl.transport.SocketOrChannelAcceptorImpl.initialize(SocketOrChannelAcceptorImpl.java:161)
      ... 10 more

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                xiaofeya Xiaofeng Yang
                Reporter:
                amlu Amy Lu
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: