Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-2744

TestCase failure: org.jboss.test.naming.test.SimpleUnitTestCase, connection refused

    XMLWordPrintable

Details

    Description

      These tests fail when ran within the scope of the entire testsuite, however, running them individually will allow them to pass.

      There are two failures in the test: org.jboss.test.naming.test.SimpleUnitTestCase

      Could not obtain connection to any of these urls: localhost:65535 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out]

      javax.naming.CommunicationException: Could not obtain connection to any of these urls: localhost:65535 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] [Root exception is javax.naming.CommunicationException: Failed to connect to server localhost:65535 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:65535 [Root exception is java.net.ConnectException: Connection refused]]]
      at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1414)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:594)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
      at javax.naming.InitialContext.lookup(InitialContext.java:347)
      at org.jboss.test.naming.test.SimpleUnitTestCase.testHaParitionName(SimpleUnitTestCase.java:241)
      Caused by: javax.naming.CommunicationException: Failed to connect to server localhost:65535 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:65535 [Root exception is java.net.ConnectException: Connection refused]]
      at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:269)
      at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1385)
      ... 19 more
      Caused by: javax.naming.ServiceUnavailableException: Failed to connect to server localhost:65535 [Root exception is java.net.ConnectException: Connection refused]
      at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:243)
      ... 20 more
      Caused by: java.net.ConnectException: Connection refused
      at java.net.PlainSocketImpl.socketConnect(Native Method)
      at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
      at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
      at java.net.Socket.connect(Socket.java:452)
      at java.net.Socket.connect(Socket.java:402)
      at java.net.Socket.<init>(Socket.java:309)
      at java.net.Socket.<init>(Socket.java:211)
      at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:84)
      at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:77)
      at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:239)
      ... 20 more

      These can be seen at:

      http://cruisecontrol.jboss.com/cc/artifacts/jboss-4.0-testsuite/20060129164846/results/index.html

      Attachments

        Issue Links

          Activity

            People

              ruel.loehr Ruel Loehr (Inactive)
              ruel.loehr Ruel Loehr (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: