[jboss-jira] [JBoss JIRA] (WFLY-8910) 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.

RH Bugzilla Integration (JIRA) issues at jboss.org
Fri Jun 9 02:32:00 EDT 2017


    [ https://issues.jboss.org/browse/WFLY-8910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13418637#comment-13418637 ] 

RH Bugzilla Integration commented on WFLY-8910:
-----------------------------------------------

Durgesh Anaokar <danaokar at redhat.com> changed the Status of [bug 1459769|https://bugzilla.redhat.com/show_bug.cgi?id=1459769] from NEW to ASSIGNED

> 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: WFLY-8910
>                 URL: https://issues.jboss.org/browse/WFLY-8910
>             Project: WildFly
>          Issue Type: Bug
>          Components: Scripts
>    Affects Versions: 11.0.0.Alpha1
>         Environment: Windows
>            Reporter: Durgesh Anaokar
>            Assignee: Durgesh Anaokar
>            Priority: Minor
>
> 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