You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2015/01/19 11:43:18 UTC

[Bug 57461] New: Rename 'JAVA_HOME' message printed by VersionLoggerListener

https://issues.apache.org/bugzilla/show_bug.cgi?id=57461

            Bug ID: 57461
           Summary: Rename 'JAVA_HOME' message printed by
                    VersionLoggerListener
           Product: Tomcat 8
           Version: 8.0.17
          Hardware: PC
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: knst.kolinko@gmail.com

Inspired by https://stackoverflow.com/questions/27965823/

Steps to reproduce:
1. Create bin\setenv.bat
set "JAVA_HOME=C:\Program Files (x86)\Java\jdk1.7.0_72"

2. Start Tomcat 8 with bin\startup.bat

3. The following is observed
A) startup.bat prints:
Using JRE_HOME:        "C:\Program Files (x86)\Java\jdk1.7.0_72"

B) The following is logged by VersionLoggerListener in
logs\catalina.yyyy-mm-dd.log:

18-Jan-2015 11:41:21.345 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log JAVA_HOME:            
C:\Program Files (x86)\Java\jdk1.7.0_72\jre


The log message is confusing, because the actual JAVA_HOME variable is pointing
to a JDK, but the log message displays a different path. The message displays
the value of System.getProperty("java.home"), not of an environment variable.

Proposal:
Change the message, s/JAVA_HOME/Java Home/.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 57461] Rename 'JAVA_HOME' message printed by VersionLoggerListener

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57461

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
                 OS|                            |All

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
Fixed in trunk, 8.0.x (for 8.0.18 onwards) and in 7.0.x (for 7.0.58 onwards).

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org