Bug 1005193 - Misleading text implies that ER2 must be installed over an existing EAP installation
Summary: Misleading text implies that ER2 must be installed over an existing EAP insta...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Fuse Service Works 6
Classification: JBoss
Component: Installer
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ER3
: ---
Assignee: Thomas Hauser
QA Contact: Len DiMaggio
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-06 12:16 UTC by Len DiMaggio
Modified: 2013-09-23 16:10 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-23 16:10:55 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Screenshot (92.05 KB, image/png)
2013-09-06 12:16 UTC, Len DiMaggio
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1005214 0 unspecified CLOSED SOA6.0.ER2 installer hangs when installing over an existing EAP 6.1 installation on RHEL6.4 2021-02-22 00:41:40 UTC

Internal Links: 1005214

Description Len DiMaggio 2013-09-06 12:16:11 UTC
Description of problem:

If a user attempts to use the UI installer to install SOA6.0.ER2, and that user selects as the installation destination directory an existing directory, this warning message is displayed:

"The given directory exists, and must contain an EAP installation. Do you want to continue?"

There are 2 issues with this message:

1) The message is displayed regardless of whether the directory is empty or not

2) ER2 bundles an EAP installation. There is no need for the user to install EAP before installing ER2.

Version-Release number of selected component (if applicable):
SOA6.0.ER2

How reproducible:
100%

Steps to Reproduce:
1. Run the installer, direct it at an existing directory
2.
3.

Actual results:
See attached screenshot.

Expected results:


Additional info:

Comment 1 Len DiMaggio 2013-09-06 12:16:52 UTC
Created attachment 794676 [details]
Screenshot

Comment 2 Nick Cross 2013-09-06 12:49:17 UTC
The installer should support installing on an existing EAP according to the Installer Requirements document.

Comment 3 Thomas Hauser 2013-09-06 14:07:48 UTC
The idea behind this message is that, if the user selects an already existing directory, that they already have EAP laid down in that directory, and we use this fact to toggle the laying down of the EAP bits. If this should change, we should have a short discussion around what should change :)

Comment 4 Thomas Hauser 2013-09-06 19:12:55 UTC
Message has been changed to a more general message warning about the directory existing. No mention of EAP is made, unless the given directory contains a jboss-eap-6.1 directory. If this is the case, the jboss-eap-6.1 subdirectory is checked in the following ways:
a) jboss-eap-6.1/bin/product.conf 
   i) it exists. 
   ii) it contains "slot=eap". 
A specific error message is printed if this is not true.

b) jboss-eap-6.1/modules/layers.conf 
   i) Does not exist. If it does, the EAP installation is not unmodified, and installation cannot continue.

c) At least one of the following sets of files must exist:
   i) jboss-eap-6.1/bin/domain.sh & jboss-eap-6.1/domain/configuration/domain.xml
   ii) jboss-eap-6.1/bin/standalone.sh & jboss-eap-6.1/standalone/configuration/standalone.xml

These should probably be refined, as these checks were designed when the installer was still going to be installed on varying EAP / SOA / SRAMP installations.

Comment 5 Thomas Hauser 2013-09-20 19:30:31 UTC
The text has been modified.

Comment 6 Len DiMaggio 2013-09-23 16:10:34 UTC
Verified fixed in ER3 (Sept 20 repin)


Note You need to log in before you can comment on or make changes to this bug.