Bugs item #613882, was opened at 2002-09-24 08:34
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=613882&group_id=22866

Category: JBossWeb
Group: v3.0 Rabbit Hole
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Scott M Stark (starksm)
Assigned to: Nobody/Anonymous (nobody)
Summary: Another Jetty reploy issue

Initial Comment:
The testBadWarRedeploy unit test of the 
org.jboss.test.web.test.WebIntegrationUnitTestCase is 
failing to see the redeployed war. The steps performed 
by this testcase are equivalent to these manual steps
done from the jboss-all/testsuite directory:

testsuite 232>cp output/lib/bad-
web.war ../build/output/jboss-
3.2.0beta2/server/default/deploy/
testsuite 233>rm ../build/output/jboss-
3.2.0beta2/server/default/deploy/bad-web.war
rm: remove `../build/output/jboss-
3.2.0beta2/server/default/deploy/bad-web.war'? y
testsuite 234>cp output/lib/good-
web.war ../build/output/jboss-
3.2.0beta2/server/default/deploy/
testsuite 235>wget 
http://localhost:8080/redeploy/index.html
--08:28:52--  http://localhost:8080/redeploy/index.html
           => `index.html'
Resolving localhost... done.
Connecting to localhost[127.0.0.1]:8080... connected.
HTTP request sent, awaiting response... 404 Not Found
08:28:52 ERROR 404: Not Found.

The output from the server console on the deployment of 
the good-web.war file is:
08:28:14,950 INFO  [MainDeployer] Starting deployment 
of package: file:/C:/usr/J
Boss3.2/jboss-all/build/output/jboss-
3.2.0beta2/server/default/deploy/good-web.w
ar
08:28:15,071 WARN  [jbossweb] A WebApplication is 
already deployed in context '/
redeploy' - proceed at your own risk.
08:28:15,131 INFO  [jbossweb] Registered 
jboss.web:Jetty=0,JBossWebApplicationCo
ntext=4,context=/redeploy
08:28:15,161 INFO  [jbossweb] Extract 
jar:file:/C:/usr/JBoss3.2/jboss-all/build/
output/jboss-
3.2.0beta2/server/default/tmp/deploy/server/default/deplo
y/good-web
.war/69.good-web.war!/ to 
C:\WINDOWS\TEMP\Jetty_0_0_0_0_8080__redeploy\w
ebapp
08:28:15,832 INFO  [jbossweb] Started 
WebApplicationContext[/redeploy,jar:file:/
C:/usr/JBoss3.2/jboss-all/build/output/jboss-
3.2.0beta2/server/default/tmp/deplo
y/server/default/deploy/good-web.war/69.good-web.war!/]
08:28:15,832 INFO  [jbossweb] successfully deployed 
file:/C:/usr/JBoss3.2/jboss-
all/build/output/jboss-
3.2.0beta2/server/default/tmp/deploy/server/default/deplo
y/good-web.war/69.good-web.war to /redeploy
08:28:15,832 INFO  [MainDeployer] Deployed package: 
file:/C:/usr/JBoss3.2/jboss-
all/build/output/jboss-
3.2.0beta2/server/default/deploy/good-web.war

So although the contaner says the that /redeploy 
context has been updated with the new good-web.war 
contents, the index.html page is seen to be 
inaccessible.


----------------------------------------------------------------------

>Comment By: Scott M Stark (starksm)
Date: 2002-09-28 19:54

Message:
Logged In: YES 
user_id=175228

Fixed for the 3.0.3 release, 3.2 branch and soon head.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=613882&group_id=22866


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to