[OPENAM-10640] Amster makes confusing message, if you don't provide --acceptLicense parameter for installation OpenAM Created: 15/Feb/17  Updated: 16/Mar/17  Resolved: 16/Feb/17

Status: Closed
Project: OpenAM
Component/s: Amster
Affects Version/s: 14.0.0
Fix Version/s: 14.0.0

Type: Bug Priority: Minor
Reporter: Richard Hruza Assignee: James Phillpotts
Resolution: Fixed Votes: 0
Labels: AME, Must-Fix, TESLA
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

amster-14.0.0-20170215.134857-106.zip


Issue Links:
Relates
Target Version/s:
Rank: 1|hzsxrj:
QA Assignee: Richard Hruza
Verified Version/s:

 Description   

If you don't provide --acceptLicense parameter for installation OpenAM , Iam getting message:

am> install-openam --serverurl http://centos6-64.example.com:8080/openam --adminpwd f0rg3r0ck
02/15/2017 03:44:21:703 PM CET: Checking license acceptance...
02/15/2017 03:44:21:704 PM CET: License terms not accepted. Cannot continue. Please add the acceptLicense=true parameter to accept license terms.
Configuration failed - check installation logs!

So I will add "--acceptLicense=true" parameter, but I will get the same message. If I wanted look into install log as is recommended in the error message, but logs are not created.

Expected result

The error message should looks like this:
License terms not accepted. Cannot continue. Please add the "--acceptLicense true" parameter to accept license terms.

And no message: Configuration failed - check installation logs!, because logs does not exist.



 Comments   
Comment by Richard Hruza [ 16/Mar/17 ]

Verified and Closed

Tested with: Amster OpenAM Shell v14.0.0-SNAPSHOT build 57ac6fcc5c = 16.3.2017

Current message:

am> install-openam --serverurl http://riso-ubuntu14.test.forgerock.com:8080/openam --adminpwd password
You must accept the license to install OpenAM.
This is done by adding --acceptLicense parameter.
Generated at Tue Mar 09 10:43:28 UTC 2021 using Jira 7.13.12#713012-sha1:6e07c38070d5191bbf7353952ed38f111754533a.