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.
Summary: | Unable to change location port number without deleting and re-registering server | ||
---|---|---|---|
Product: | serverplugins | Reporter: | jjuneau <jjuneau> |
Component: | GlassFish | Assignee: | TomasKraus |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | pjiricka |
Priority: | P3 | ||
Version: | 8.0 | ||
Hardware: | PC | ||
OS: | Mac OS X | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
jjuneau
2013-10-04 13:05:38 UTC
Yes, it works this way for years. Marking as RFE. Thanks, just an annoyance, I guess. We oftentimes change the port number if we are trying to run multiple versions of GlassFish or other servers. I appreciate you marking it as a RFE. Checked into web-main: ---------------------- changeset: 264675:faeeb1791be1 summary: #236762 - XML praser refactoring Did some clean up in XML parser to separate it from big bags of everything in common and spi. I did some debugging so see how HTTP ports are initialized in plugin. There is domain.xml parser which retrieves HTTP port from listeners configuration stored in domain.xml when server instance object is being initialized. But guess this value is not changed since that. I would like to ask you to try something: 1) Run NetBeans with GF registered. 2) Change GF listener to use another port 3) Restart NetBeans Let me know if HTTP port gets updated after NetBeans restart. If so, my findings are correct and I may just implement some 'refresh' to read port values from domain.xml again on user's request. Checked into web-main: ---------------------- changeset: 264676:5a9416252c08 summary: #236762 - Automatic domain.xml changes detection and ports properties update. Added file change listener on domain.xml. Currently it only uses existing code to parse domain.xml and update HTTP and admin port properties. It may take some time from GF admin console change save to NB properties update because file change event is not generated immediately. Pushing in. Testing: -------- Keep in mind that it may take few minutes for NetBeans to detect domain.xml change and update server properties. There will be INFO message in NB log after domain.xml change is detected: * GlassFish configuration file {0} was modified, updating server configuration. {0} is full path to domain.xml Integrated into 'main-silver', will be available in build *201310100001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/faeeb1791be1 User: Tomas Kraus <TomasKraus@netbeans.org> Log: #236762 - XML praser refactoring |