[jboss-jira] [JBoss JIRA] (AS7-3973) Yet another place where hardcoded IPv4 address scheme is used

Stuart Douglas (JIRA) jira-events at lists.jboss.org
Wed Feb 29 15:36:36 EST 2012


    [ https://issues.jboss.org/browse/AS7-3973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12672257#comment-12672257 ] 

Stuart Douglas commented on AS7-3973:
-------------------------------------

I don't see those two tests having hard coded localhost, they both pass for me when binding to an external non-localhost ip. Can you post the stack trace?

Some of the webservice ones still have issues however, as localhost is referenced in the wsdl. Also the iiop tests reference it in the @EJB() annotation. 
                
> Yet another place where hardcoded IPv4 address scheme is used
> -------------------------------------------------------------
>
>                 Key: AS7-3973
>                 URL: https://issues.jboss.org/browse/AS7-3973
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Test Suite
>    Affects Versions: 7.1.1.Final
>            Reporter: Pavel Janousek
>            Assignee: Ondrej Zizka
>            Priority: Blocker
>
> After the last Stuart commit and merge to upstream (on Thursday morning CET time zone), there are still some places where hardcoded IPv4 address scheme is used.
> Wrong TestCases are:
> - org.jboss.as.test.integration.ejb.security.callerprincipal.GetCallerPrincipalTestCase
> - org.jboss.as.test.integration.ejb.mdb.containerstart.SendMessagesTestCase
> Both of them use 127.0.0.1 directly even -Dnode0=::1 - it seems to be some other magic inside them because [there|http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/as7-master-testsuite-ip6/4/consoleFull] TS passed, but I also reconfigure my machine to avoid IPv4 name address translation like:
> {code}
> #127.0.0.1              localhost.localdomain
> #127.0.0.1              pjanouse.brq.redhat.com localhost
> ::1                     localhost6.localdomain6 localhost6 localhost
> ::1                     pjanouse.brq.redhat.com localhost
> 127.0.0.2               both
> ::2                     both
> 2001:0000:1234:0000:0000:c1c0:abcd:0876         ip6
> {code}
> I've got this result:{code}
> Tests in error: 
>   org.jboss.as.test.integration.ejb.security.callerprincipal.GetCallerPrincipalTestCase: java.net.ConnectException: JBAS012144: Could not connect to remote://127.0.0.1:9999. The connection timed out
>   org.jboss.as.test.integration.ejb.security.callerprincipal.GetCallerPrincipalTestCase: java.net.ConnectException: JBAS012144: Could not connect to remote://127.0.0.1:9999. The connection timed out
>   org.jboss.as.test.integration.ejb.mdb.containerstart.SendMessagesTestCase: java.net.ConnectException: JBAS012144: Could not connect to remote://127.0.0.1:9999. The connection timed out
>   org.jboss.as.test.integration.ejb.mdb.containerstart.SendMessagesTestCase: java.net.ConnectException: JBAS012144: Could not connect to remote://127.0.0.1:9999. The connection timed out
> {code}
> It seems there are several other problems in clustering and domain, but I'll report them after deeper investigation.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list