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: [email protected]
Reporter: [email protected]
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: [email protected]
For additional commands, e-mail: [email protected]