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 150363 - Change in context path is not recognized when you connect to the remote domain
Summary: Change in context path is not recognized when you connect to the remote domain
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 6.x
Hardware: Macintosh Mac OS X
: P3 blocker (vote)
Assignee: Nitya Doraisamy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-16 11:53 UTC by dpkumar
Modified: 2009-02-19 23:04 UTC (History)
1 user (show)

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 dpkumar 2008-10-16 11:53:25 UTC
NB Build:Build-200810151401
JDK:jdk1.5.0_13
GFV2.1:b-56

Steps to reproduce:
-Install NB and GFV2.1 in the local machine.
-Install GFV2.1 in the remote machine and start the server.
-Open IDE and register GFV2.1 with remote domain.
-Create a simple web application -Select File>New Project>Java web>Web application and set target server as GFv2.1 and Java EE Version-JAVA EE5.
-Right click on the application select Clean&Build/Deploy.
-Change the context for the web application in the server(Servers>GlassFish V2>Application>Web Application)
-Right click on the application select 'Run'.
-See the http link in the browser.

ISSUE:
Even changing context path in the server, it takes only pervious context path.
Comment 1 Vince Kraemer 2008-10-16 23:00:19 UTC
i can reproduce this.

the "solution" is to disable the ability to edit the context root of a web app from its Services node.  we may want to
allow folks to edit the context-root for LOCAL domains/apps, since they seem to work correctly....
Comment 2 Vince Kraemer 2008-10-25 05:40:19 UTC
please disable the ability to edit the context-root of a deployed app in the property sheet for v2.
Comment 3 Nitya Doraisamy 2008-12-09 03:24:04 UTC
Modify the property editors to make context root for remote server read only
Simple fix.
Comment 4 Nitya Doraisamy 2009-02-13 16:41:12 UTC
Fixed

http://hg.netbeans.org/main/rev/786d2312b3a7
Comment 5 Quality Engineering 2009-02-18 10:52:10 UTC
Integrated into 'main-golden', will be available in build *200902180201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/786d2312b3a7
User: nityad@netbeans.org
Log: #150363 : Make context path read only for remote servers