[jboss-jira] [JBoss JIRA] (WFCORE-3061) 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.
Kabir Khan (JIRA)
issues at jboss.org
Wed Jul 12 10:08:00 EDT 2017
[ https://issues.jboss.org/browse/WFCORE-3061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13434731#comment-13434731 ]
Kabir Khan commented on WFCORE-3061:
------------------------------------
moved to the WFCORE project since the fix is there.
> 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.
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: WFCORE-3061
> URL: https://issues.jboss.org/browse/WFCORE-3061
> Project: WildFly Core
> Issue Type: Bug
> Components: Scripts
> Environment: Windows
> Reporter: Durgesh Anaokar
> Assignee: Durgesh Anaokar
> Priority: Minor
> Fix For: 3.0.0.Beta29
>
>
> On Windows 7, 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.
> On line 177 of the standalone.bat, a check is made to see if the JAVA_HOME variable points to a valid directory. If it does, it assumes this directory contains bin\java. If bin\java does not exist, the server fails to start and does not give a reason why.
> expect to see an error message such as "%JAVA_HOME% path doesn't contain an executable at %JAVA_HOME%\bin\java"
> Add additional checks in the standalone.conf to verify that %JAVA_HOME%\bin\java exists and warn if it does not.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list