Bug 1324942

Summary: [RFE] Adding parameters to JBossEAP when starting image
Product: Red Hat xPaaS Reporter: Eric Jones <erjones>
Component: DocumentationAssignee: Gaurav Nelson <gnelson>
Status: CLOSED CURRENTRELEASE QA Contact: Tomas Schlosser <tschloss>
Severity: urgent Docs Contact: Vikram Goyal <vigoyal>
Priority: high    
Version: unspecifiedCC: aos-bugs, erich, jokerman, mmccomas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-14 00:05:03 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:
Bug Depends On: 1329985    
Bug Blocks:    

Description Eric Jones 2016-04-07 16:30:24 UTC
- What is the nature and description of the request?
As an developer I require the ability to add environment variables to the JBossEAP image with more generic variable names
 
- Why does the customer need this? (List the business requirements here)
Customer needs to add parameters (set as environment variables) for when the application starts up.
 
- How would the customer like to achieve this? (List the functional requirements here)
Edit the JBoss Image (and document the changes) to use more generic variables/variable names
 
- For each functional requirement listed, specify how Red Hat and the customer can test to confirm the requirement is successfully implemented.
Change the variables and then test them as what they replaced
 
- Is there already an existing RFE upstream or in Red Hat Bugzilla?
Not that I could find
 
- Additional Info:
Currently, to add a -D option to startup as well as add name="java.net.preferIPv4Stack" value="true" and name="file.encoding" value="ISO-8859-1" a developer would need to run the below command:
 
oc env dc/eap-openshift "JBOSS_MESSAGING_ARGS"="-Djava.net.preferIPv4Stack=true -Dfile.encoding=ISO-8859-1"

Comment 3 JBoss JIRA Server 2016-05-17 20:51:39 UTC
Eric Rich <erich> updated the status of jira CLOUD-681 to Closed

Comment 5 Gaurav Nelson 2017-03-14 00:05:03 UTC
Added the missing environment variables. The updated documents are available at https://access.redhat.com/documentation/en-us/red_hat_jboss_middleware_for_openshift/3/html-single/red_hat_jboss_enterprise_application_platform_for_openshift/