[jboss-cvs] JBossAS SVN: r96500 - branches/JBPAPP_4_2_0_GA_CP_IPV6/testsuite/src/main/org/jboss/test/classloader/test.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Nov 18 12:14:33 EST 2009
Author: rachmatowicz at jboss.com
Date: 2009-11-18 12:14:32 -0500 (Wed, 18 Nov 2009)
New Revision: 96500
Modified:
branches/JBPAPP_4_2_0_GA_CP_IPV6/testsuite/src/main/org/jboss/test/classloader/test/ScopingUnitTestCase.java
Log:
Fix org.jboss.test.classloader.test.ScopingUnitTestCase URL generation (JBPAPP-2997)
Modified: branches/JBPAPP_4_2_0_GA_CP_IPV6/testsuite/src/main/org/jboss/test/classloader/test/ScopingUnitTestCase.java
===================================================================
--- branches/JBPAPP_4_2_0_GA_CP_IPV6/testsuite/src/main/org/jboss/test/classloader/test/ScopingUnitTestCase.java 2009-11-18 17:09:48 UTC (rev 96499)
+++ branches/JBPAPP_4_2_0_GA_CP_IPV6/testsuite/src/main/org/jboss/test/classloader/test/ScopingUnitTestCase.java 2009-11-18 17:14:32 UTC (rev 96500)
@@ -113,14 +113,14 @@
try
{
deploy("log4j113.war");
- URL log4jServletURL = new URL("http://" + getServerHost() + ":8080/log4j113/Log4jServlet/");
+ URL log4jServletURL = new URL("http://" + getServerHostForURL() + ":8080/log4j113/Log4jServlet/");
InputStream reply = (InputStream) log4jServletURL.getContent();
- getLog().debug("Accessed http://" + getServerHost() + ":8080/log4j113/Log4jServlet/");
+ getLog().debug("Accessed http://" + getServerHostForURL() + ":8080/log4j113/Log4jServlet/");
logReply(reply);
- URL encServletURL = new URL("http://" + getServerHost() + ":8080/log4j113/ENCServlet/");
+ URL encServletURL = new URL("http://" + getServerHostForURL() + ":8080/log4j113/ENCServlet/");
reply = (InputStream) encServletURL.getContent();
- getLog().debug("Accessed http://" + getServerHost() + ":8080/log4j113/ENCServlet/");
+ getLog().debug("Accessed http://" + getServerHostForURL() + ":8080/log4j113/ENCServlet/");
logReply(reply);
}
catch(Exception e)
@@ -143,9 +143,9 @@
try
{
deploy("common-logging.war");
- URL log4jServletURL = new URL("http://" + getServerHost() + ":8080/common-logging/Log4jServlet/");
+ URL log4jServletURL = new URL("http://" + getServerHostForURL() + ":8080/common-logging/Log4jServlet/");
InputStream reply = (InputStream) log4jServletURL.getContent();
- getLog().debug("Accessed http://" + getServerHost() + ":8080/common-logging/Log4jServlet/");
+ getLog().debug("Accessed http://" + getServerHostForURL() + ":8080/common-logging/Log4jServlet/");
logReply(reply);
}
catch(Exception e)
@@ -169,9 +169,9 @@
try
{
deploy("cl11-withjar.war");
- URL log4jServletURL = new URL("http://" + getServerHost() + ":8080/cl11-withjar/Log4jServlet/?log-name=cl11-withjar.log");
+ URL log4jServletURL = new URL("http://" + getServerHostForURL() + ":8080/cl11-withjar/Log4jServlet/?log-name=cl11-withjar.log");
InputStream reply = (InputStream) log4jServletURL.getContent();
- getLog().debug("Accessed http://" + getServerHost() + ":8080/cl11-withjar/Log4jServlet/");
+ getLog().debug("Accessed http://" + getServerHostForURL() + ":8080/cl11-withjar/Log4jServlet/");
logReply(reply);
}
catch(Exception e)
@@ -196,9 +196,9 @@
try
{
deploy("oldxerces.war");
- URL servletURL = new URL("http://" + getServerHost() + ":8080/oldxerces/");
+ URL servletURL = new URL("http://" + getServerHostForURL() + ":8080/oldxerces/");
InputStream reply = (InputStream) servletURL.getContent();
- getLog().debug("Accessed http://" + getServerHost() + ":8080/oldxerces/");
+ getLog().debug("Accessed http://" + getServerHostForURL() + ":8080/oldxerces/");
logReply(reply);
}
catch(Exception e)
@@ -314,7 +314,7 @@
{
deploy("shared-jndi.sar");
deploy("shared-jndi.war");
- URL servletURL = new URL("http://" + getServerHost() + ":8080/shared-jndi/LookupServlet");
+ URL servletURL = new URL("http://" + getServerHostForURL() + ":8080/shared-jndi/LookupServlet");
InputStream reply = (InputStream) servletURL.getContent();
getLog().debug("Accessed: "+servletURL);
logReply(reply);
More information about the jboss-cvs-commits
mailing list