Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-9380

Improve error message on Windows when JAVA_HOME set to invalid path

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Obsolete
    • Icon: Minor Minor
    • TBD EAP 5
    • EAP_EWP 5.1.2
    • System
    • None
    • Windows 7 Ultimate

    • NEW

      If the JAVA_HOME variable is set to an incorrect path, such as %JAVA_HOME%/bin, instead of the root of the JDK, then JBoss fails to start, and a cryptic error message is printed.

      If running %JBOSS_HOME%/bin/run.bat:
      "Config file not found run.conf.bat"

      If running as a service on Windows, as described in section 11.4.1 of the Installation Guide:

      run.log:
      "Config file not found C:\Users\gsslab\jboss\5.1.2\native\sbin\run.conf"

              jgreene@redhat.com Jason Greene
              rhn-support-jshepher Jason Shepherd
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: