[GLASSFISH-18274] [Regression] Custom Install. Installation flow has changed after selecting "Configure again". Errors in port conflict are reported in Domain Info screen. Created: 30/Jan/12  Updated: 20/Dec/16  Resolved: 07/Feb/12

Status: Resolved
Project: glassfish
Component/s: installation
Affects Version/s: 3.1.2_dev
Fix Version/s: 3.1.2_dev

Type: Bug Priority: Critical
Reporter: Alex Pineda Assignee: scatari
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Oracle Enterprise Linux (OEL)6. JDK1.7.0_02. GF 3.1.2 build19 (ogs-unix.sh). Firefox browser 3.6.25. Install option "Custom Install".

Tags: 312_qa, 3_1_2-approved


The test scenario based on the "Custom" Install option to first install a "Server domain" and afterwards, to add a "standalone instance server" or a "clustered server instance". In GF 3.1.2 build16 and prior versions (3.1.1, 3.1), the process was done, after creating the domain, by selecting the "configure again" option and selecting the option of standalone or the clustered server instance, however, in GF 3.1.2 build19 (probably present since build17), the flow has changed and the "Domain Info" screen is displayed which has the options for port, user admin, password, etc.. If one selects "Next", the system complaints of a port conflict and highlights the Admin Port and Admin User. This is clearly a regression and probably a side effect of the recent Security remediation requirements.

A workaround, which we could document is to instruct the user, not to select "Next" in the Domain Info screen, but rather select the "Back" button which then puts the user in the "Configuration" screen and allows them to proceed forward with their selection (of "standalone server" or "clustered server" instances).

Comment by Joe Di Pol [ 31/Jan/12 ]

I did some experimentation and saw two basic bugs:

In all cases:

Select Custom Installation
Select Install and Configure
Specify new installation directory
Select JDK
Uncheck install Update Tool (to save time)
Click Install

Bug 1:

Select Create a server domain
Click Next, accepting defaults (domain is created and started)
Click "Configure again"

Bug: This takes you to the "Domain Info" screen, not back to the Configuration screen
(like it does in 3.1.1)

Bug 2:

Select Create a stand alone server instance
Click Next
Bug: this takes you to "Domain Info" screen not to the Instance Configuration screen (like it does in 3.1.1)
Next, accepting defaults.
Takes you to Instance Configuration
Next, accepting defaults
Configuration fails because domain was never created nor started even though you filled out domain information. So we lead the user down a path that should work, and it fails.

Comment by scatari [ 07/Feb/12 ]

• What is the impact on the customer of the bug?
Visible during advanced installer navigation sequence if the default sequence is skipped.

Is it a regression? Does it meet other bug fix criteria (security, performance, etc.)?
No, the bug has existed for a while, but shows up as we recently enabled "Domain Information" Panel
to adhere to Oracle's security compliance.

• What is the cost/risk of fixing the bug?
Code changes are minimal and isolated.
• Is there an impact on documentation or message strings?
No doc impact. No doc change required
• Which tests should QA (re)run to verify the fix did not destabilize GlassFish?
Custom install and Typical install on 1 unix and 1 windows platform
• Which is the targeted build of 3.1.2 for this fix?

Generated at Tue Feb 28 13:07:20 UTC 2017 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.