Skip to content
This repository has been archived by the owner on Oct 9, 2024. It is now read-only.

CATALINA_BASE vs CATALINA_HOME #33

Open
jamroks opened this issue Jul 3, 2017 · 0 comments
Open

CATALINA_BASE vs CATALINA_HOME #33

jamroks opened this issue Jul 3, 2017 · 0 comments

Comments

@jamroks
Copy link

jamroks commented Jul 3, 2017

Hi,

Thank you for the nice tomcat role, really well done sir ! but there's a small error in your "Readme" file when you say : "Tomcat uses two main paths: CATALINA_BASE which contains all common files and CATALINA_HOME which contains instance-specific files.
Consequently, any webapp and configuration must be deployed to CATALINA_HOME which defaults to /srv/tomcat/catalina/tomcat"

In fact this isn't correct, It's the other way around.
CATALINA_HOME = common file and binary
CATALINA_BASE = Instance specific config and webapp ( e.g war file )

****************** From Official tomcat documentation *********************
Throughout the docs, you'll notice there are numerous references to $CATALINA_HOME.
This represents the root of your Tomcat installation.
When we say, "This information can be found in your $CATALINA_HOME/README.txt file" we mean to look at the README.txt file at the root of your Tomcat install.
Optionally, Tomcat may be configured for multiple instances by defining $CATALINA_BASE for each instance.
If multiple instances are not configured, $CATALINA_BASE is the same as $CATALINA_HOME

Have a look to apache tomcat official documentation https://tomcat.apache.org/tomcat-7.0-doc/introduction.html

Cheers

rastandy pushed a commit to rastandy/ansible-tomcat that referenced this issue Oct 10, 2017
…R-273 to next

* commit 'b976ac3aa3b22269fbe4b97787de8e9577c2cc6a':
  With systemd on tomcat >= 8.5 we add custom protocol handlers based on the default when running tomcat with catalina.sh
  Fix typo in tasks documentation
  Non-systemd services call catalina.sh
  Fixup minimum required library files access controls for tomcat >= 8.5 to function
  Tomcat 8.5.N installs CATALINA_HOME/conf with umask 077
  Add tomcat version 8.5.6
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant