This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 110935 - 0724: incremental deploy for web root-context change in deployed app
Summary: 0724: incremental deploy for web root-context change in deployed app
Status: RESOLVED INVALID
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-25 14:15 UTC by nouar38
Modified: 2007-07-25 19:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nouar38 2007-07-25 14:15:38 UTC
NB 6.0 07240000 & GF v2 b56 & jdk 1.6 u1:
Test Suite 2: Deploy, Undeploy and Redeploy

Test # 3 : Disable/Enable/Property/Undeploy and Redeploy for a simple Web app
The simpleWeb application is deployed in local instance, if we change in Services/app node/Properties
the ContextRoot field to have a different value than the one defined when the app was deployed
(sun-web.xml or Projects/app/Properties/Run "Context Path", the "Run" of the application
undeploy / redeploy the app with the root context defined in sun-web.xml
Comment 1 Nitya Doraisamy 2007-07-25 17:54:29 UTC
I didn't understand the issue. Is the issue that the plugin is allowing the context root to be 
changed?
Comment 2 nouar38 2007-07-25 17:59:04 UTC
In the test, it says change the root-context after deploying the web-app in Services/app/Properties and run again
and verify that the new path is used
may be the test is wrong and had no sense in NB 6.0
Comment 3 Nitya Doraisamy 2007-07-25 19:02:51 UTC
If you change the context root of a deployed webapp through the property sheet in the 
runtime tree, then the change would be propagated to the server. 
eg. EnterpriseApplicationJMS-war to EnterpriseApplicationJMS-warTest

I think the test expects you to execute the app manually by launching the browser and invoking the 
correct path, you should be able to run the app using the new context root. 
eg. http://localhost:8080/EnterpriseApplicationJMS-warTest
I think the test is to check that the change propagated as expected to the server.

If you run the application from within the IDE, it would do a redeploy and the context root is 
written over by the app in the IDE. I think the browser launched on Run from
within the IDE uses the information in the sun-web.xml within the project.
eg. http://localhost:8080/EnterpriseApplicationJMS-war

I assume this is not an issue but rather wrong information/steps in the test. Closing as invalid.
Reopen if you think I misunderstood the issue.