<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.32.2">
</HEAD>
<BODY>
Hi all,<BR>
<BR>
there are still some tests containing hard-coded localhost.<BR>
If you happen to be the author/culprit, please check if the tests should be updated (most likely it should) to use an appropriate dynamic mechanism to get the right address, and update it.<BR>
<BR>
&nbsp;&nbsp;&nbsp; @ArquillianResource URL url;<BR>
&nbsp;&nbsp;&nbsp; @ArquillianResource ManagementClient mc;<BR>
&nbsp;&nbsp;&nbsp; @ContainerResource private ManagementClient mc;<BR>
<BR>
The values in annotations will probably need some trick like this:<BR>
<A HREF="https://github.com/jbossas/jboss-as/commit/a2b0b7b4220bd3e781389b7262f46a996c3360cc">https://github.com/jbossas/jboss-as/commit/a2b0b7b4220bd3e781389b7262f46a996c3360cc</A><BR>
Or, if no other way, using javassist (or byteman) to inject a constant into a static field and use that in the annotation.<BR>
<BR>
Thanks to Stuart, Richard, and all who contributed to this.<BR>
<BR>
Ondra<BR>
<BR>
<BR>
testsuite/integration/smoke/src/test/java/org/jboss/as/test/smoke/mgmt/datasource/DataSourceOperationsUnitTestCase.java:&nbsp;&nbsp;&nbsp;&nbsp; <BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MBeanServerConnection mbeanServer = JMXConnectorFactory.connect(new JMXServiceURL(&quot;service:jmx:remoting-jmx://127.0.0.1:9999&quot;)).getMBeanServerConnection();<BR>
<BR>
testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/ejb/iiop/naming/IIOPNamingTestCase.java:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; prope.put(Context.PROVIDER_URL, &quot;corbaloc::localhost:3528/JBoss/Naming/root&quot;);<BR>
testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/ejb/iiop/naming/IIOPNamingTestCase.java:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; prope.put(Context.PROVIDER_URL, &quot;corbaloc::localhost:3528/JBoss/Naming/root&quot;);<BR>
testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/ejb/iiop/naming/IIOPNamingTestCase.java:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; prope.put(Context.PROVIDER_URL, &quot;corbaloc::localhost:3528&quot;);<BR>
testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/ejb/iiop/naming/IIOPNamingTestCase.java:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; final Object iiopObj = context.lookup(&quot;corbaname:iiop:localhost:3528#test/IIOPNamingBean&quot;);<BR>
testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/ejb/iiop/naming/IIOPNamingTestCase.java:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; prope.put(Context.PROVIDER_URL, &quot;corbaloc::localhost:3528&quot;);<BR>
testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/ejb/iiop/naming/IIOPNamingTestCase.java:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; prope.put(Context.PROVIDER_URL, &quot;iiop://localhost:3528&quot;);<BR>
testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/ejb/iiop/naming/IIOPNamingTestCase.java:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; prope.put(Context.PROVIDER_URL, &quot;iiop://localhost:3528&quot;);<BR>
testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/ejb/iiop/naming/IIOPNamingTestCase.java:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; prope.put(Context.PROVIDER_URL, &quot;corbaloc::localhost:3528/JBoss/Naming/root&quot;);<BR>
testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/ejb/iiop/naming/IIOPNamingTestCase.java:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; prope.put(Context.PROVIDER_URL, &quot;corbaloc::localhost:3528&quot;);<BR>
testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/ejb/iiop/naming/IIOPNamingTestCase.java:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; final Object iiopObj = context.lookup(&quot;corbaname:iiop:localhost:3528#bean/custom/name/IIOPNamingBean&quot;);<BR>
testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/ejb/iiop/naming/IIOPNamingTestCase.java:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; prope.put(Context.PROVIDER_URL, &quot;iiop://localhost:3528&quot;);<BR>
testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/jmx/ModelControllerMBeanTestCase.java:&nbsp;&nbsp;&nbsp; static final String HOST = &quot;localhost&quot;;<BR>
testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/jmx/ModelControllerMBeanTestCase.java:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; client = ModelControllerClient.Factory.create(&quot;localhost&quot;, 9999, getCallbackHandler());<BR>
testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/osgi/jaxrs/RestEasyIntegrationTestCase.java:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; String reqPath = &quot;http://&quot; + formatPossibleIpv6Address(System.getProperty(&quot;test.bind.address&quot;, &quot;localhost&quot;)) + &quot;:8080/resteasy-osgi-client/rest/echo<BR>
testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/security/loginmodules/DatabaseLoginModuleTestCase.java:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; conn = DriverManager.getConnection(&quot;jdbc:h2:tcp://localhost/mem:test&quot; + depNum, &quot;sa&quot;, &quot;sa&quot;);<BR>
testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/security/loginmodules/common/servlets/SecuredServletWithDBSetupForDep1.java:&nbsp;&nbsp; url = &quot;jdbc:h2:tcp://localhost/mem:test1&quot;<BR>
testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/security/loginmodules/common/servlets/SecuredServletWithDBSetupForDep2.java:&nbsp;&nbsp; url = &quot;jdbc:h2:tcp://localhost/mem:test2&quot;<BR>
testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/security/loginmodules/common/servlets/SecuredServletWithDBSetupForDep3.java:&nbsp;&nbsp; url = &quot;jdbc:h2:tcp://localhost/mem:test3&quot;<BR>
testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/security/loginmodules/common/servlets/SecuredServletWithDBSetupForDep4.java:&nbsp;&nbsp; url = &quot;jdbc:h2:tcp://localhost/mem:test4&quot;<BR>
testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/web/security/cert/WebSecurityCERTTestCase.java:&nbsp;&nbsp;&nbsp; protected final String URL = &quot;https://localhost:8380/&quot; + getContextPath() + &quot;/secured/&quot;;<BR>
testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/web/security/cert/WebSecurityCERTTestCase.java:&nbsp;&nbsp;&nbsp; protected final String URL = &quot;https://localhost:8380/&quot; + getContextPath() + &quot;/secured/&quot;;<BR>
testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/web/security/tg/TransportGuaranteeTestCase.java:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FileUtils.copyURLToFile(tccl.getResource(&quot;web/sec/tg/localhost.keystore&quot;), keyStoreFile);<BR>
testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/ws/serviceref/TestService.wsdl:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;soap:address location='http://${node0:localhost}:8080/ws-serviceref-example/EndpointService/EJB3Bean'/&gt;<BR>
<BR>
testsuite/integration/iiop/src/test/java/org/jboss/as/test/iiop/basic/BasicIIOPInvocationTestCase.java:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; *&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; @EJB(lookup = &quot;corbaname:iiop:localhost:3628#IIOPTransactionalStatelessBean&quot;)<BR>
testsuite/integration/smoke/src/test/java/org/jboss/as/test/smoke/webservices/SimpleStatelessSessionBean.java:&nbsp;&nbsp;&nbsp; @WebServiceRef(wsdlLocation=&quot;http://localhost:8080/ws-example?wsdl&quot;, value=EndpointService.class)<BR>
testsuite/integration/smoke/src/test/java/org/jboss/as/test/smoke/webservices/SimpleStatelessSessionBean.java:&nbsp;&nbsp;&nbsp; @WebServiceRef(wsdlLocation=&quot;http://localhost:8080/ws-example?wsdl&quot;, value=EndpointService.class)<BR>
<BR>
testsuite/integration/src/test/xslt/addRemoteOutboundConnection.xsl:&nbsp;&nbsp;&nbsp; &lt;xsl:param name=&quot;node&quot; select=&quot;'localhost'&quot;/&gt;<BR>
<BR>
</BODY>
</HTML>