You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Andreas Messer ab1deba4c2 Merge branch 'suites/unstable' 1 month ago
..
context Renamed the package to tomcat9 2 years ago
default_root Renamed the package to tomcat9 2 years ago
libexec tomcat9 Debian release 9.0.40-1 1 month ago
patches Synchronize patches 1 month ago
policy Updated the policy files in /etc/tomcat8/policy.d/ 2 years ago
rsyslog Renamed the package to tomcat9 2 years ago
source Add debianization from tomcat6 9 years ago
sysusers Changed the home directory of the tomcat user to /var/lib/tomcat (Closes: #926338) 2 months ago
README.Debian Restore tip of “master” from April 2019 1 year ago
ant.properties Depend on libeclipse-jdt-core-java instead of libecj-java 2 years ago
changelog Merge branch 'suites/unstable' 1 month ago
clean Removed the NEWS file 2 years ago
control Use same jdk as in debian 1 month ago
copyright tomcat9 Debian release 9.0.31-1 8 months ago
default.template Restore tip of “master” from April 2019 1 year ago
gbp.conf Add gbp.conf 1 year ago
libtomcat9-embed-java.manifest Depend on libeclipse-jdt-core-java instead of libecj-java 2 years ago
libtomcat9-embed-java.poms Renamed the package to tomcat9 2 years ago
libtomcat9-java.lintian-overrides Renamed the package to tomcat9 2 years ago
libtomcat9-java.manifest Depend on libeclipse-jdt-core-java instead of libecj-java 2 years ago
libtomcat9-java.poms No longer build the extra WS and JMX jars 1 year ago
logging.properties Remove systemd logger 1 year ago
logrotate.template Use a fixed non-configurable user 'tomcat' to run the server 2 years ago
maven.rules Install the tomcat-embed-* artifacts with the 9.x version (Closes: #915578) 2 years ago
rules Refreshed the patches 3 months ago
setenv.sh Restore tip of “master” from April 2019 1 year ago
tomcat9-admin.install Renamed the package to tomcat9 2 years ago
tomcat9-common.docs Renamed the package to tomcat9 2 years ago
tomcat9-common.install setenv.sh in tomcat9-user and the service startup script now share the same JDK detection logic 2 years ago
tomcat9-common.links Removed the broken catalina-ws.jar and catalina-jmx-remote.jar symlinks in /usr/share/tomcat9/lib/ 1 year ago
tomcat9-docs.doc-base Renamed the package to tomcat9 2 years ago
tomcat9-docs.install Renamed the package to tomcat9 2 years ago
tomcat9-docs.links Renamed the package to tomcat9 2 years ago
tomcat9-docs.lintian-overrides Added Lintian overrides for tomcat9-docs 2 years ago
tomcat9-examples.install Renamed the package to tomcat9 2 years ago
tomcat9-examples.links Renamed the package to tomcat9 2 years ago
tomcat9-instance-create Renamed the package to tomcat9 2 years ago
tomcat9-instance-create.1 Renamed the package to tomcat9 2 years ago
tomcat9-user.install Renamed the package to tomcat9 2 years ago
tomcat9-user.manpages Renamed the package to tomcat9 2 years ago
tomcat9.cron.daily Let Tomcat handle the rotation of its log files instead of relying on a cron job 2 years ago
tomcat9.dirs Create the /var/log/tomcat9/ and /var/cache/tomcat9/ directories at install time (Closes: #915791) 2 years ago
tomcat9.init review after history rewrite reconstruction 1 year ago
tomcat9.install Restore tip of “master” from April 2019 1 year ago
tomcat9.links Renamed the package to tomcat9 2 years ago
tomcat9.lintian-overrides Restore tip of “master” from April 2019 1 year ago
tomcat9.postinst tomcat9 Debian release 9.0.36-1 7 months ago
tomcat9.postrm.in Improved the documentation of the maintainer scripts 2 years ago
tomcat9.service Moved the RequiresMountsFor directive in the service file to the Unit section (Closes: #942316) 11 months ago
tomcat9.tmpfile Restored execute permission on /var/log/tomcat9 to the adm group 6 months ago
watch Track and download the new releases from GitHub 1 year ago

README.Debian

Migrating from previous Tomcat packages
---------------------------------------

* Refer to the upstream migration guides for application compatibility
and configuration changes:
- http://tomcat.apache.org/migration-7.html
- http://tomcat.apache.org/migration-8.html
- http://tomcat.apache.org/migration-85.html
- http://tomcat.apache.org/migration-9.html

* Before the version 9 the Debian packages for Tomcat each created their
own tomcat<n> users. You may need to recursively update your application
directories to be owned by the tomcat user. This user will no longer
change for the future upgrades.


Getting started
---------------

* After installing the tomcat9 package, the server should be accessible
at http://localhost:8080/

* The default port 8080 can be changed by modifying the port of the
connector in /etc/tomcat9/server.xml. Privileged ports (such as 80 or 443)
can be used with no extra configuration.

* If you install tomcat9-admin, you have to define an admin account to
access the manager interface. Edit /etc/tomcat9/tomcat-users.xml and
follow the instructions in the comments. The Tomcat manager will be
accessible at http://localhost:8080/manager/html

* Tomcat is not running under a Java security manager by default. If you
expose your Tomcat instance to the internet, please consider editing
your /etc/default/tomcat9 file and set SECURITY_MANAGER="true", then
adjust policy files in /etc/tomcat9/policy.d/ as explained in
https://tomcat.apache.org/tomcat-9.0-doc/security-manager-howto.html

* Tomcat is sandboxed by systemd and only has write access to the following
directories:
- /var/lib/tomcat9/conf/Catalina (actually /etc/tomcat9/Catalina)
- /var/lib/tomcat9/logs (actually /var/log/tomcat9)
- /var/lib/tomcat9/webapps
- /var/lib/tomcat9/work (actually /var/cache/tomcat9)

If write access to other directories is required the service settings
have to be overridden. This is done by creating an override.conf file
in /etc/systemd/system/tomcat9.service.d/ containing:

[Service]
ReadWritePaths=/path/to/the/directory/

The service has to be restarted afterward with:

systemctl daemon-reload
systemctl restart tomcat9

⚠ This is supported only when Tomcat is started with the systemd unit.

Using Tomcat with other init systems is supported, however that will
negate the security hardening detailed above, make Tomcat not have
its own temporary directory, not drop privileges/capabilities after
start, and not be restarted on crashing. Use at your own risk.

* To run more than one Tomcat instance on your server, install the package
tomcat9-user and run the tomcat9-instance-create utility.
You should remove the tomcat9 package if you don't want Tomcat to
start as a daemon at boot time.