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.
The first time you run any development build of glassfish 6.9, it creates ~/.netbeans/dev and it does detect the existence of a glassfish v3 instance installed, but netbeans presumes that port 8080 is the port being used by glassfish...it doesn't actually get the correct port from the server's config. Steps to reproduce: 1. Have glassfish v3 installed and configured to serve http on a port that is not the default port 8080. 2. Quit netbeans 6.9 3. Remove ~/.netbeans/dev or rename it to something else 4. Launch netbeans 6.9 5. Visit Tools/Servers 6. Observe incorrect "localhost:8080" under "Location"
Arghh, I meant "netbeans 6.9", not "glassfish 6.9" in my report.
The server is registered outside the userdir at installation time. Since the server had the 'default ports' when it was initially registered, that does not change. To change this, we need to compute the port data as late as possible.
deleting the userdir as a way to force server registration was not a supported 'feature' in the IDE... marking as invalid
Let me reword the steps to reproduce without any deletion of the userdir: 1. Create a new user 2. Install netbeans (incorporating glassfish v3) using that new user 3. Reconfigure glassfish to serve http on a port 8081, ie not the default 8080 3. Launch netbeans 6.9 4. Visit Tools/Servers 6. Observe incorrect "localhost:8080" under "Location" in netbeans
Integrated into 'main-golden', will be available in build *201101271430* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/d4aa818d4897 User: Vince Kraemer <vkraemer@netbeans.org> Log: #183032 : update port data associated with an instance from domain.xml when possible...