[jboss-jira] [JBoss JIRA] Commented: (JBAS-4085) failing org.jboss.test.web.test.WebIntegrationUnitTestCase
Scott M Stark (JIRA)
jira-events at jboss.com
Thu Feb 8 11:23:46 EST 2007
[ http://jira.jboss.com/jira/browse/JBAS-4085?page=comments#action_12352647 ]
Scott M Stark commented on JBAS-4085:
-------------------------------------
The test.log shows that jbossweb claims that no such webapp exists:
2007-02-08 08:12:06,843 DEBUG [org.jboss.test.util.web.HttpUtils] RequestURI: http://localhost:8080/redeploy/index.html
2007-02-08 08:12:06,843 DEBUG [org.apache.commons.httpclient.HttpConnection] Open connection to localhost:8080
2007-02-08 08:12:06,843 DEBUG [httpclient.wire.header] >> "GET /redeploy/index.html HTTP/1.1[\r][\n]"
2007-02-08 08:12:06,843 DEBUG [org.apache.commons.httpclient.HttpMethodBase] Adding Host request header
2007-02-08 08:12:06,843 DEBUG [httpclient.wire.header] >> "User-Agent: Jakarta Commons-HttpClient/3.0[\r][\n]"
2007-02-08 08:12:06,843 DEBUG [httpclient.wire.header] >> "Host: localhost:8080[\r][\n]"
2007-02-08 08:12:06,843 DEBUG [httpclient.wire.header] >> "[\r][\n]"
2007-02-08 08:12:06,843 DEBUG [httpclient.wire.header] << "HTTP/1.1 503 This application is not currently available[\r][\n]"
2007-02-08 08:12:06,843 DEBUG [httpclient.wire.header] << "Server: Apache-Coyote/1.1[\r][\n]"
2007-02-08 08:12:06,843 DEBUG [httpclient.wire.header] << "Content-Type: text/html[\r][\n]"
2007-02-08 08:12:06,843 DEBUG [httpclient.wire.header] << "Transfer-Encoding: chunked[\r][\n]"
2007-02-08 08:12:06,843 DEBUG [httpclient.wire.header] << "Date: Thu, 08 Feb 2007 16:12:06 GMT[\r][\n]"
2007-02-08 08:12:06,843 DEBUG [httpclient.wire.header] << "Connection: close[\r][\n]"
2007-02-08 08:12:06,843 DEBUG [org.apache.commons.httpclient.HttpConnection] Input data available
2007-02-08 08:12:06,843 DEBUG [org.jboss.test.util.web.HttpUtils] responseCode=503, response=This application is not currently available
Even though the server.log indicates it was started:
2007-02-08 08:12:06,750 DEBUG [org.jboss.system.ServiceController] starting service jboss.web.deployment:war=good-web.war,id=627826940
2007-02-08 08:12:06,750 DEBUG [org.jboss.web.WebModule] Starting jboss.web.deployment:war=good-web.war,id=627826940
2007-02-08 08:12:06,750 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] webContext: /redeploy
...
2007-02-08 08:12:06,828 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] Initialized: {WebApplication: /C:/svn/JBossAS/Branch_4_2/build/output/jboss-4.2.0.CR1/server/jacc/tmp/deploy/tmp44326jbosstest-good.ear-contents/good-web-exp.war/, URL: file:/C:/svn/JBossAS/Branch_4_2/build/output/jboss-4.2.0.CR1/server/jacc/tmp/deploy/tmp44326jbosstest-good.ear-contents/good-web-exp.war/, classLoader: java.net.FactoryURLClassLoader at 248f34:2395956} jboss.web:j2eeType=WebModule,name=//localhost/redeploy,J2EEApplication=none,J2EEServer=none
2007-02-08 08:12:06,828 DEBUG [org.jboss.web.WebModule] Started jboss.web.deployment:war=good-web.war,id=627826940
2007-02-08 08:12:06,828 DEBUG [org.jboss.system.ServiceController] Starting dependent components for: jboss.web.deployment:war=good-web.war,id=627826940 dependent components: []
2007-02-08 08:12:06,843 DEBUG [org.jboss.deployment.MainDeployer] End deployment start on package: good-web.war
> failing org.jboss.test.web.test.WebIntegrationUnitTestCase
> ----------------------------------------------------------
>
> Key: JBAS-4085
> URL: http://jira.jboss.com/jira/browse/JBAS-4085
> Project: JBoss Application Server
> Issue Type: Sub-task
> Security Level: Public(Everyone can see)
> Components: Web (Tomcat) service, Test Suite
> Reporter: Scott M Stark
>
> <testcase classname="org.jboss.test.web.test.WebIntegrationUnitTestCase" name="testBadWarRedeploy" time="1.093">
> <error message="Expected reply code:200, actual=503" type="java.io.IOException">java.io.IOException: Expected reply code:200, actual=503
> at org.jboss.test.util.web.HttpUtils.accessURL(HttpUtils.java:137)
> at org.jboss.test.util.web.HttpUtils.accessURL(HttpUtils.java:108)
> at org.jboss.test.util.web.HttpUtils.accessURL(HttpUtils.java:96)
> at org.jboss.test.web.test.WebIntegrationUnitTestCase.testBadWarRedeploy(WebIntegrationUnitTestCase.java:373)
> at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.extensions.TestSetup.run(TestSetup.java:23)
> </error>
--
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