Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1170051

Summary: JAVA_OPTS environment variable not used for domain mode on Windows
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Josef Cacek <jcacek>
Component: Scripts and CommandsAssignee: jboss-set
Status: CLOSED CURRENTRELEASE QA Contact: Petr Kremensky <pkremens>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.4.0CC: fnasser, kkhan, pgier
Target Milestone: DR13   
Target Release: EAP 6.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-19 12:43:54 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:
Embargoed:

Description Josef Cacek 2014-12-03 06:51:48 UTC
When I use JAVA_OPTS as an environment variable (i.e. configured before starting the AS) it's not propagated when used in domain mode on windows (domain.bat).

For standalone mode (standalone.bat) it works.

For Linux/Unix it works in both cases (standalone.sh, domain.sh).

Steps to reproduce:

SET "JAVA_OPTS=...MyOwnJavaOptsConfig..."
domain.bat

Actual result:
The configured JAVA_OPTS are not used.

Expected result:
Provided JAVA_OPTS are used for the process controller and host controller processes.

Comment 3 Petr Kremensky 2014-12-11 07:17:14 UTC
Verified on EAP 6.4.0.DR13.