[jboss-jira] [JBoss JIRA] Created: (EJBTHREE-880) Hard-coded localhost in ejb3 test suite

Aleksandar Kostadinov (JIRA) jira-events at lists.jboss.org
Fri Feb 16 03:39:30 EST 2007


Hard-coded localhost in ejb3 test suite
---------------------------------------

                 Key: EJBTHREE-880
                 URL: http://jira.jboss.com/jira/browse/EJBTHREE-880
             Project: EJB 3.0
          Issue Type: Bug
            Reporter: Aleksandar Kostadinov


When the ejb3 testsuite is run with "-Dnode0=IP1 -Dnode1=IP2" and IP1!=localhost there are some tests failing with "Retries exceeded, couldn't reconnect to 127.0.0.1:####". I see this for 4_0 and 4_2 jboss branches, but guess it's the same with head.

One of the testcases is IiopRemoteUnitTestCase. I've checked ejb3/src/test/org/jboss/ejb3/test/iiop/unit/IiopRemoteUnitTestCase.java and there is 'props.put("java.naming.provider.url", "corbaloc::localhost:3528/NameService");'. Instead of localhost there should be used the node0 property. I guess the others have the same problem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list