Bug 1170051 - JAVA_OPTS environment variable not used for domain mode on Windows
Summary: JAVA_OPTS environment variable not used for domain mode on Windows
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Scripts and Commands
Version: 6.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: DR13
: EAP 6.4.0
Assignee: jboss-set
QA Contact: Petr Kremensky
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-03 06:51 UTC by Josef Cacek
Modified: 2019-08-19 12:43 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-08-19 12:43:54 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker WFCORE-444 0 Major Resolved JAVA_OPTS environment variable not used for domain mode on Windows 2016-02-17 09:46:27 UTC

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.


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