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 84611 - Invalid port during registration is not reported.
Summary: Invalid port during registration is not reported.
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: WebServer 7 (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: kishore320
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-11 14:45 UTC by prabushankar
Modified: 2010-09-15 06:24 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description prabushankar 2006-09-11 14:45:44 UTC
WS7.0 Build Sun Java System Web Server 7.0 B08/31/2006 08:14
NB 5.0 Build 2000601251500

Steps:
1) Start netbeans IDE and in run-time tab right-click servers and choose 'Add
servers'
2) Choose 'Sun Java System Web Server 7.0' in the 'Choose Server' Server type.
3) Click next to reach 'Server location and configuration'.
4) In the installation directory provide a valid SJSWS7.0 installation directory.
5) Give an invalid admin port (say if the admin port is 8989, provide 8888 port
here)

-------------------------
The admin server in the SJSWS7.0 installation directory is contacted with a
correct port with no information to the user about wrong port number.
Comment 1 prabushankar 2006-09-13 12:26:55 UTC
[Defect]->[Enhancement]
If the server is local, then the port can be read from the server.xml file.
Comment 2 kishore320 2010-08-30 12:07:53 UTC
changeset:   16375:f8a8453e33a9
user:        Nagakishore Sidde <kishore320@netbeans.org>
date:        Mon Aug 30 17:40:30 2010 +0530
Summary:     To have a good user experience following changes are done
1) In case of local server, once user specifies the installation directory, server.xml is parsed to detect the all http-listener ports and displayed in the port filed accordingly.User entered ports validation is also done against the detected ones.
2) In case of remote server, if server ping fails just give the warning and allow the user to proceed
3) Adding a new file (Util.java) to have common utilities
Comment 3 kishore320 2010-09-15 06:24:40 UTC
changeset:   16377:fb6708125ce4
user:        Nagakishore Sidde <kishore320@netbeans.org>
date:        Wed Sep 15 11:58:07 2010 +0530
description: Allow the user to modify the port after adding the server, only if server is not running. User can change the port by clicking properties and editing port field in the connection panel. User entered port is validated against the ports specified in the server.xml (if user selects ssl port while adding the server then validation is done only against the ssl ports specified in the server.xml).

If validation fails user will be prompted to re-enter the port in case of local server and user will be just warned in case of remote server.

Reviewed By: Isvaran Krishnamurthy <ikrishna@netbeans.org>