Bug 1459769 - [GSS](6.4.z) On Windows, when running standalone/Domain with the JAVA_HOME environment variable set (but pointing to an empty directory), JBoss EAP fails to start and does not give an error message.
Summary: [GSS](6.4.z) On Windows, when running standalone/Domain with the JAVA_HOME en...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Scripts and Commands
Version: 6.4.15
Hardware: Unspecified
OS: Windows
unspecified
unspecified
Target Milestone: CR1
: EAP 6.4.17
Assignee: Durgesh Anaokar
QA Contact: Jiří Bílek
URL:
Whiteboard:
Depends On:
Blocks: eap6417-payload
TreeView+ depends on / blocked
 
Reported: 2017-06-08 07:11 UTC by Durgesh Anaokar
Modified: 2020-07-16 09:47 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-09-06 13:32:01 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBEAP-11420 0 Minor Verified [GSS](7.1.0) On Windows, when running standalone/Domain with the JAVA_HOME environment variable set (but pointing to an ... 2017-10-09 09:25:45 UTC
Red Hat Issue Tracker JBEAP-11534 0 Minor Pull Request Sent [GSS](7.0.z) On Windows, when running standalone/Domain with the JAVA_HOME environment variable set (but pointing to an ... 2017-10-09 09:25:45 UTC
Red Hat Issue Tracker WFLY-8910 0 Minor Resolved On Windows, when running standalone/Domain with the JAVA_HOME environment variable set (but pointing to an empty directo... 2017-10-09 09:25:45 UTC

Description Durgesh Anaokar 2017-06-08 07:11:12 UTC
Description of problem:

On Windows, when running standalone.bat with the JAVA_HOME environment variable set (but pointing to an empty directory), JBoss EAP fails to start and does not give an error message.

Version-Release number of selected component (if applicable):


How reproducible:
every time in windows environment.

Steps to Reproduce:
1. Set the JAVA_HOME to a valid but empty directory on the system 
2. run standalone.bat/domain.bat.

Actual results:
EAP will stop without giving any warning message

Expected results:
A warning about the java.exe should come in logs

Additional info:
Add additional checks in the standalone.conf/domain.bat to verify that %JAVA_HOME%\bin\java exists and warn if it does not.

Comment 4 Jiří Bílek 2017-08-03 15:32:43 UTC
Verified with EAP 6.4.17.CP.CR3

Comment 5 Petr Penicka 2017-09-06 13:32:01 UTC
Released on 2017-09-05 as part of the EAP 6.4.17 release.


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