Bug 724478 (BRMS-423)

Summary: Modeshape installation fails when property 'jboss_home' is set from outside
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Petr Široký <psiroky>
Component: Tooling (JBDS), ModeshapeAssignee: Van Halbert <vhalbert>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: medium    
Version: 5.1.0.ER3CC: vhalbert
Target Milestone: ---   
Target Release: 5.1.0.CR1   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/BRMS-423
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Fedora 13 x86_64 java 1.6.0_21 ant 1.7.1
Last Closed: 2010-12-07 11:24:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
modeshape-install.png none

Description Petr Široký 2010-11-02 14:29:40 UTC
securitylevel_name: Public

If property 'jboss_home' is set from outside (e.g. -Djboss_home=path'), the modeshape installation fails. The error occurs in both deployable and standalone versions.

Error can be reproduced by running this command in modeshape directory: $ ant -Dprofile='production' -Djboss_home='path/to/some/container'

Comment 1 Petr Široký 2010-11-02 14:33:32 UTC
Attachment: Added: modeshape-install.png


Comment 2 Anne-Louise Tangring 2010-11-09 16:14:46 UTC
This is not a blocker for BRMS 5.1.0

Comment 3 Van Halbert 2010-12-06 14:34:23 UTC
jboss_home is referring to the primary directory (i.e., jboss-as-web, jboss-as) for the server.   Within that directory, should find the server/<profile> for which is where ModeShape is deployed.

I realize jboss_home is lowercase, maybe is should have been JBOSS_HOME, as its defined in run.sh/.bat.

Comment 4 Petr Široký 2010-12-06 14:37:41 UTC
I just tested this with BRMS 5.1.0 ER4 and the installation is successful.

Comment 5 Van Halbert 2010-12-06 16:30:42 UTC
Release Notes Text: Added: It was commented as to working


Comment 6 Petr Široký 2010-12-07 11:24:15 UTC
Verified fixed in BRMS 5.1.0 CR1