Bug 58596 - Add Patch Binary -- Running.txt says tomcat is a JAVA application and doesn't use Environment Variables.
Summary: Add Patch Binary -- Running.txt says tomcat is a JAVA application and doesn't...
Status: RESOLVED FIXED
Alias: None
Product: Tomcat 8
Classification: Unclassified
Component: Documentation (show other bugs)
Version: 8.0.x-trunk
Hardware: PC All
: P2 normal (vote)
Target Milestone: ----
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-07 15:12 UTC by vivek
Modified: 2015-11-16 12:18 UTC (History)
0 users



Attachments
patch for RUNNING.txt (488 bytes, patch)
2015-11-07 15:12 UTC, vivek
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description vivek 2015-11-07 15:12:53 UTC
Created attachment 33264 [details]
patch for RUNNING.txt

Running.txt(which helps user to guide for running up tomcat) says tomcat is a JAVA application and doesn't use Environment Variables.

Tomcat always uses CATALINA_HOME as a environment variable.
No matter who is setting this, either explicit or implicit by start up script.
The document says, since it is a JAVA application, it does not use, but JAVA application does use.
And the next few lines are also misleading according to Bug statement CATALINA_HOME(required).
So it seems misleading.

Providing a patch for this.
Comment 1 Konstantin Kolinko 2015-11-07 15:37:22 UTC
No. Tomcat does not use CATALINA_HOME environment variable.

The launch script (catalina.sh or catalina.bat) uses it.

Tomcat itself uses system property named "catalina.home". The script sets that property with a -D command argument to java process that runs Tomcat.
Comment 2 Mark Thomas 2015-11-11 15:36:43 UTC
Wording clarified in trunk, 8.0.x for 8.0.29 and 7.0.x for 7.0.66
Comment 3 Konstantin Kolinko 2015-11-16 12:18:48 UTC
Clarified in 6.0 as well, for 6.0.45