Benutzer-Werkzeuge

Webseiten-Werkzeuge


tachtler:apache_tomcat_7

Apache Tomcat 7

Apache Tomcat stellt eine Umgebung zur Ausführung von Java-Code für Web-Server bereit. Es handelt sich um einen Servlet-Container, der mithilfe des JSP-Compilers Jasper JavaServer Pages in Servlets übersetzen und ausführt. Zusätzlich ist ein kompletter HTTP-Server integriert.

:!: Hinweis - Die nachfolgenden Ausführungen erheben keinen Anspruch auf Vollständigkeit, sondern stellt eine „Basiskonfiguration“ eines Apache Tomcat als Applikation-Server dar!!!

Ab hier werden zur Ausführung nachfolgender Befehle root-Rechte benötigt. Um der Benutzer root zu werden, melden Sie sich bitte als root-Benutzer am System an, oder wechseln mit nachfolgendem Befehl zum Benutzer root:

$ su -
Password:

Überblick

Nachfolgende Pakete können neben dem Hauptpaket des Apache Tomcat zusätzlich installiert werden, je nach Bedarf und Umgebung, in der sich der Apache Tomcat befindet und laufen soll:

  • tomcat-admin-webapps - Apache Tomcat-Administrative Web-Anwendungen (host-manager, manager)
    - ist im base-Repository von CentOS enthalten
  • tomcat-webapps - Apache Tomcat-ROOT-Web-Anwendung und Beispiel-Web-Anwendungen
    - ist im base-Repository von CentOS enthalten
  • tomcat-docs-webapp - Apache Tomcat-Dokumentation zu den Web-Anwendungen
    - ist im base-Repository von CentOS enthalten
  • tomcat-javadoc - Apache Tomcat-Dokumentation im Javadoc-Format
    - ist im base-Repository von CentOS enthalten

Ein weiteres interessantes Paket ist das nachfolgende, mit dem unter UNIX/LINUX-Betriebssystemen, dem Apache Tomcat die Möglichkeit gegeben wird einige Operationen als Benutzer root durchzuführen. Zum Beispiel sich an einen privilegierten Port < 1024 zu binden und anschließend wieder auf einen unprivilegierten Benutzer tomcat zu wechseln.

  • tomcat-jsvc - Apache Tomcat-Wrapper als eigenständiger Dienst/Daemon
    - ist im base-Repository von CentOS enthalten

Zusätzlich sollten für den Betrieb des Apache Tomcat-Servers, nachfolgendes Paket installiert werden:

Vorbereitung

Zur Installation der Native Laufzeit Bibliothek The Apache Tomcat Native über ein rpm-Paket, soll hier das Repository eines Drittanbieters genutzt werden, da die Native Laufzeit Bibliothek The Apache Tomcat Native nicht im CentOS-Repository enthalten ist.

Nachfolgend soll das Repository des Drittanbieters EPEL genutzt werden. Eine Anleitung, wie das Repository des Drittanbieters EPEL eingebunden werden könnte, kann unter nachfolgendem internen Link nachgelesen werden:

Voraussetzungen

Als Voraussetzung für die Installation von Apache Tomcat sind folgende Komponenten erforderlich:

:!: HINWEIS - Es wird unter CentOS ab Version 7.x das OpenJDK 1.8.0 automatisch installiert, falls dies nicht bereits vorhanden ist!

Nachfolgende rpm-Pakete sind als Abhängigkeit erforderlich und werden ebenfalls benötigt:

  • tomcat-el-2.2-api - ist im base-Repository von CentOS enthalten
  • tomcat-jsp-2.2-api - ist im base-Repository von CentOS enthalten
  • tomcat-lib - ist im base-Repository von CentOS enthalten
  • tomcat-servlet-3.0-api - ist im base-Repository von CentOS enthalten

Installation

tomcat

Zur Installation des Apache Tomcat wird nachfolgendes Paket benötigt:

  • tomcat - ist im base-Repository von CentOS enthalten

installiert werden.

Mit nachfolgendem Befehl, wird das Pakete tomcat installiert:

# yum install tomcat
Loaded plugins: changelog, priorities
64 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package tomcat.noarch 0:7.0.54-1.el7 will be installed
--> Processing Dependency: tomcat-lib = 7.0.54-1.el7 for package: tomcat-7.0.54-1.el7.noarch
--> Processing Dependency: java >= 1:1.6.0 for package: tomcat-7.0.54-1.el7.noarch
--> Processing Dependency: apache-commons-pool for package: tomcat-7.0.54-1.el7.noarch
--> Processing Dependency: apache-commons-logging for package: tomcat-7.0.54-1.el7.noarch
--> Processing Dependency: apache-commons-dbcp for package: tomcat-7.0.54-1.el7.noarch
--> Processing Dependency: apache-commons-daemon for package: tomcat-7.0.54-1.el7.noarch
--> Processing Dependency: apache-commons-collections for package: tomcat-7.0.54-1.el7.noarch
--> Running transaction check
---> Package apache-commons-collections.noarch 0:3.2.1-21.el7 will be installed
--> Processing Dependency: jpackage-utils for package: apache-commons-collections-3.2.1-21.el7.noarch
---> Package apache-commons-daemon.x86_64 0:1.0.13-6.el7 will be installed
---> Package apache-commons-dbcp.noarch 0:1.4-17.el7 will be installed
--> Processing Dependency: mvn(org.apache.geronimo.specs:geronimo-jta_1.1_spec) for package: apache-commons-dbcp-1.4-17.el7.noarch
---> Package apache-commons-logging.noarch 0:1.1.2-7.el7 will be installed
--> Processing Dependency: mvn(logkit:logkit) for package: apache-commons-logging-1.1.2-7.el7.noarch
--> Processing Dependency: mvn(log4j:log4j) for package: apache-commons-logging-1.1.2-7.el7.noarch
--> Processing Dependency: mvn(avalon-framework:avalon-framework-api) for package: apache-commons-logging-1.1.2-7.el7.noarch
---> Package apache-commons-pool.noarch 0:1.6-9.el7 will be installed
---> Package java-1.8.0-openjdk.x86_64 1:1.8.0.45-30.b13.el7_1 will be installed
--> Processing Dependency: java-1.8.0-openjdk-headless = 1:1.8.0.45-30.b13.el7_1 for package: 1:java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64
--> Processing Dependency: xorg-x11-fonts-Type1 for package: 1:java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64
--> Processing Dependency: libpng15.so.15(PNG15_0)(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64
--> Processing Dependency: libjvm.so(SUNWprivate_1.1)(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64
--> Processing Dependency: libjpeg.so.62(LIBJPEG_6.2)(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64
--> Processing Dependency: libjli.so(SUNWprivate_1.1)(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64
--> Processing Dependency: libjava.so(SUNWprivate_1.1)(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64
--> Processing Dependency: fontconfig for package: 1:java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64
--> Processing Dependency: libpng15.so.15()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64
--> Processing Dependency: libjvm.so()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64
--> Processing Dependency: libjpeg.so.62()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64
--> Processing Dependency: libjli.so()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64
--> Processing Dependency: libjava.so()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64
--> Processing Dependency: libgif.so.4()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64
--> Processing Dependency: libawt.so()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64
--> Processing Dependency: libXtst.so.6()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64
--> Processing Dependency: libXrender.so.1()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64
--> Processing Dependency: libXi.so.6()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64
--> Processing Dependency: libXext.so.6()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64
--> Processing Dependency: libX11.so.6()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64
---> Package tomcat-lib.noarch 0:7.0.54-1.el7 will be installed
--> Processing Dependency: tomcat-servlet-3.0-api = 7.0.54-1.el7 for package: tomcat-lib-7.0.54-1.el7.noarch
--> Processing Dependency: tomcat-jsp-2.2-api = 7.0.54-1.el7 for package: tomcat-lib-7.0.54-1.el7.noarch
--> Processing Dependency: tomcat-el-2.2-api = 7.0.54-1.el7 for package: tomcat-lib-7.0.54-1.el7.noarch
--> Processing Dependency: ecj >= 1:4.2.1 for package: tomcat-lib-7.0.54-1.el7.noarch
--> Running transaction check
---> Package avalon-framework.noarch 0:4.3-10.el7 will be installed
--> Processing Dependency: xalan-j2 for package: avalon-framework-4.3-10.el7.noarch
---> Package avalon-logkit.noarch 0:2.1-14.el7 will be installed
--> Processing Dependency: jms for package: avalon-logkit-2.1-14.el7.noarch
---> Package ecj.x86_64 1:4.2.1-8.el7 will be installed
---> Package fontconfig.x86_64 0:2.10.95-7.el7 will be installed
--> Processing Dependency: fontpackages-filesystem for package: fontconfig-2.10.95-7.el7.x86_64
---> Package geronimo-jta.noarch 0:1.1.1-17.el7 will be installed
---> Package giflib.x86_64 0:4.1.6-9.el7 will be installed
--> Processing Dependency: libSM.so.6()(64bit) for package: giflib-4.1.6-9.el7.x86_64
--> Processing Dependency: libICE.so.6()(64bit) for package: giflib-4.1.6-9.el7.x86_64
---> Package java-1.8.0-openjdk-headless.x86_64 1:1.8.0.45-30.b13.el7_1 will be installed
--> Processing Dependency: tzdata-java for package: 1:java-1.8.0-openjdk-headless-1.8.0.45-30.b13.el7_1.x86_64
--> Processing Dependency: liblcms2.so.2()(64bit) for package: 1:java-1.8.0-openjdk-headless-1.8.0.45-30.b13.el7_1.x86_64
---> Package javapackages-tools.noarch 0:3.4.1-6.el7_0 will be installed
--> Processing Dependency: python-javapackages = 3.4.1-6.el7_0 for package: javapackages-tools-3.4.1-6.el7_0.noarch
--> Processing Dependency: libxslt for package: javapackages-tools-3.4.1-6.el7_0.noarch
---> Package libX11.x86_64 0:1.6.0-2.1.el7 will be installed
--> Processing Dependency: libX11-common = 1.6.0-2.1.el7 for package: libX11-1.6.0-2.1.el7.x86_64
--> Processing Dependency: libxcb.so.1()(64bit) for package: libX11-1.6.0-2.1.el7.x86_64
---> Package libXext.x86_64 0:1.3.2-2.1.el7 will be installed
---> Package libXi.x86_64 0:1.7.2-2.1.el7 will be installed
---> Package libXrender.x86_64 0:0.9.8-2.1.el7 will be installed
---> Package libXtst.x86_64 0:1.2.2-2.1.el7 will be installed
---> Package libjpeg-turbo.x86_64 0:1.2.90-5.el7 will be installed
---> Package libpng.x86_64 2:1.5.13-5.el7 will be installed
---> Package log4j.noarch 0:1.2.17-15.el7 will be installed
--> Processing Dependency: mvn(javax.mail:mail) for package: log4j-1.2.17-15.el7.noarch
---> Package tomcat-el-2.2-api.noarch 0:7.0.54-1.el7 will be installed
---> Package tomcat-jsp-2.2-api.noarch 0:7.0.54-1.el7 will be installed
---> Package tomcat-servlet-3.0-api.noarch 0:7.0.54-1.el7 will be installed
---> Package xorg-x11-fonts-Type1.noarch 0:7.5-9.el7 will be installed
--> Processing Dependency: ttmkfdir for package: xorg-x11-fonts-Type1-7.5-9.el7.noarch
--> Processing Dependency: ttmkfdir for package: xorg-x11-fonts-Type1-7.5-9.el7.noarch
--> Processing Dependency: mkfontdir for package: xorg-x11-fonts-Type1-7.5-9.el7.noarch
--> Processing Dependency: mkfontdir for package: xorg-x11-fonts-Type1-7.5-9.el7.noarch
--> Running transaction check
---> Package fontpackages-filesystem.noarch 0:1.44-8.el7 will be installed
---> Package geronimo-jms.noarch 0:1.1.1-19.el7 will be installed
---> Package javamail.noarch 0:1.4.6-8.el7 will be installed
---> Package lcms2.x86_64 0:2.5-4.el7 will be installed
---> Package libICE.x86_64 0:1.0.8-7.el7 will be installed
---> Package libSM.x86_64 0:1.2.1-7.el7 will be installed
---> Package libX11-common.noarch 0:1.6.0-2.1.el7 will be installed
---> Package libxcb.x86_64 0:1.9-5.el7 will be installed
--> Processing Dependency: libXau.so.6()(64bit) for package: libxcb-1.9-5.el7.x86_64
---> Package libxslt.x86_64 0:1.1.28-5.el7 will be installed
---> Package python-javapackages.noarch 0:3.4.1-6.el7_0 will be installed
--> Processing Dependency: python-lxml for package: python-javapackages-3.4.1-6.el7_0.noarch
---> Package ttmkfdir.x86_64 0:3.0.9-41.el7 will be installed
---> Package tzdata-java.noarch 0:2015d-1.el7 will be installed
---> Package xalan-j2.noarch 0:2.7.1-23.el7 will be installed
--> Processing Dependency: xerces-j2 for package: xalan-j2-2.7.1-23.el7.noarch
--> Processing Dependency: osgi(org.apache.xerces) for package: xalan-j2-2.7.1-23.el7.noarch
---> Package xorg-x11-font-utils.x86_64 1:7.5-18.1.el7 will be installed
--> Processing Dependency: libfontenc.so.1()(64bit) for package: 1:xorg-x11-font-utils-7.5-18.1.el7.x86_64
--> Processing Dependency: libXfont.so.1()(64bit) for package: 1:xorg-x11-font-utils-7.5-18.1.el7.x86_64
--> Running transaction check
---> Package libXau.x86_64 0:1.0.8-2.1.el7 will be installed
---> Package libXfont.x86_64 0:1.4.7-2.el7_0 will be installed
---> Package libfontenc.x86_64 0:1.1.1-5.el7 will be installed
---> Package python-lxml.x86_64 0:3.2.1-4.el7 will be installed
---> Package xerces-j2.noarch 0:2.11.0-17.el7_0 will be installed
--> Processing Dependency: xml-commons-resolver >= 1.2 for package: xerces-j2-2.11.0-17.el7_0.noarch
--> Processing Dependency: xml-commons-apis >= 1.4.01 for package: xerces-j2-2.11.0-17.el7_0.noarch
--> Processing Dependency: osgi(org.apache.xml.resolver) for package: xerces-j2-2.11.0-17.el7_0.noarch
--> Processing Dependency: osgi(javax.xml) for package: xerces-j2-2.11.0-17.el7_0.noarch
--> Running transaction check
---> Package xml-commons-apis.noarch 0:1.4.01-16.el7 will be installed
---> Package xml-commons-resolver.noarch 0:1.2-15.el7 will be installed
--> Finished Dependency Resolution

Changes in packages about to be updated:


Dependencies Resolved

================================================================================
 Package                      Arch    Version                    Repository
                                                                           Size
================================================================================
Installing:
 tomcat                       noarch  7.0.54-1.el7               base      85 k
Installing for dependencies:
 apache-commons-collections   noarch  3.2.1-21.el7               base     506 k
 apache-commons-daemon        x86_64  1.0.13-6.el7               base      54 k
 apache-commons-dbcp          noarch  1.4-17.el7                 base     167 k
 apache-commons-logging       noarch  1.1.2-7.el7                base      78 k
 apache-commons-pool          noarch  1.6-9.el7                  base     113 k
 avalon-framework             noarch  4.3-10.el7                 base      88 k
 avalon-logkit                noarch  2.1-14.el7                 base      87 k
 ecj                          x86_64  1:4.2.1-8.el7              base     1.4 M
 fontconfig                   x86_64  2.10.95-7.el7              base     228 k
 fontpackages-filesystem      noarch  1.44-8.el7                 base     9.9 k
 geronimo-jms                 noarch  1.1.1-19.el7               base      31 k
 geronimo-jta                 noarch  1.1.1-17.el7               base      20 k
 giflib                       x86_64  4.1.6-9.el7                base      40 k
 java-1.8.0-openjdk           x86_64  1:1.8.0.45-30.b13.el7_1    updates  213 k
 java-1.8.0-openjdk-headless  x86_64  1:1.8.0.45-30.b13.el7_1    updates   31 M
 javamail                     noarch  1.4.6-8.el7                base     758 k
 javapackages-tools           noarch  3.4.1-6.el7_0              base      72 k
 lcms2                        x86_64  2.5-4.el7                  base     133 k
 libICE                       x86_64  1.0.8-7.el7                base      63 k
 libSM                        x86_64  1.2.1-7.el7                base      38 k
 libX11                       x86_64  1.6.0-2.1.el7              base     605 k
 libX11-common                noarch  1.6.0-2.1.el7              base     181 k
 libXau                       x86_64  1.0.8-2.1.el7              base      29 k
 libXext                      x86_64  1.3.2-2.1.el7              base      38 k
 libXfont                     x86_64  1.4.7-2.el7_0              base     144 k
 libXi                        x86_64  1.7.2-2.1.el7              base      39 k
 libXrender                   x86_64  0.9.8-2.1.el7              base      25 k
 libXtst                      x86_64  1.2.2-2.1.el7              base      20 k
 libfontenc                   x86_64  1.1.1-5.el7                base      29 k
 libjpeg-turbo                x86_64  1.2.90-5.el7               base     134 k
 libpng                       x86_64  2:1.5.13-5.el7             base     212 k
 libxcb                       x86_64  1.9-5.el7                  base     169 k
 libxslt                      x86_64  1.1.28-5.el7               base     242 k
 log4j                        noarch  1.2.17-15.el7              base     443 k
 python-javapackages          noarch  3.4.1-6.el7_0              base      31 k
 python-lxml                  x86_64  3.2.1-4.el7                base     758 k
 tomcat-el-2.2-api            noarch  7.0.54-1.el7               base      76 k
 tomcat-jsp-2.2-api           noarch  7.0.54-1.el7               base      90 k
 tomcat-lib                   noarch  7.0.54-1.el7               base     3.7 M
 tomcat-servlet-3.0-api       noarch  7.0.54-1.el7               base     207 k
 ttmkfdir                     x86_64  3.0.9-41.el7               base      47 k
 tzdata-java                  noarch  2015d-1.el7                updates  144 k
 xalan-j2                     noarch  2.7.1-23.el7               base     1.9 M
 xerces-j2                    noarch  2.11.0-17.el7_0            base     1.1 M
 xml-commons-apis             noarch  1.4.01-16.el7              base     227 k
 xml-commons-resolver         noarch  1.2-15.el7                 base     108 k
 xorg-x11-font-utils          x86_64  1:7.5-18.1.el7             base      87 k
 xorg-x11-fonts-Type1         noarch  7.5-9.el7                  base     521 k

Transaction Summary
================================================================================
Install  1 Package (+48 Dependent packages)

Total download size: 46 M
Installed size: 127 M
Is this ok [y/d/N]: y
Downloading packages:
(1/49): apache-commons-daemon-1.0.13-6.el7.x86_64.rpm      |  54 kB   00:00     
(2/49): apache-commons-collections-3.2.1-21.el7.noarch.rpm | 506 kB   00:00     
(3/49): apache-commons-dbcp-1.4-17.el7.noarch.rpm          | 167 kB   00:00     
(4/49): apache-commons-logging-1.1.2-7.el7.noarch.rpm      |  78 kB   00:00     
(5/49): apache-commons-pool-1.6-9.el7.noarch.rpm           | 113 kB   00:00     
(6/49): avalon-framework-4.3-10.el7.noarch.rpm             |  88 kB   00:00     
(7/49): avalon-logkit-2.1-14.el7.noarch.rpm                |  87 kB   00:00     
(8/49): ecj-4.2.1-8.el7.x86_64.rpm                         | 1.4 MB   00:00     
(9/49): fontconfig-2.10.95-7.el7.x86_64.rpm                | 228 kB   00:00     
(10/49): fontpackages-filesystem-1.44-8.el7.noarch.rpm     | 9.9 kB   00:00     
(11/49): geronimo-jms-1.1.1-19.el7.noarch.rpm              |  31 kB   00:00     
(12/49): geronimo-jta-1.1.1-17.el7.noarch.rpm              |  20 kB   00:00     
(13/49): giflib-4.1.6-9.el7.x86_64.rpm                     |  40 kB   00:00     
(14/49): javapackages-tools-3.4.1-6.el7_0.noarch.rpm       |  72 kB   00:00     
(15/49): javamail-1.4.6-8.el7.noarch.rpm                   | 758 kB   00:00     
(16/49): lcms2-2.5-4.el7.x86_64.rpm                        | 133 kB   00:00     
(17/49): libICE-1.0.8-7.el7.x86_64.rpm                     |  63 kB   00:00     
(18/49): libSM-1.2.1-7.el7.x86_64.rpm                      |  38 kB   00:00     
(19/49): libX11-1.6.0-2.1.el7.x86_64.rpm                   | 605 kB   00:00     
(20/49): libX11-common-1.6.0-2.1.el7.noarch.rpm            | 181 kB   00:00     
(21/49): libXau-1.0.8-2.1.el7.x86_64.rpm                   |  29 kB   00:00     
(22/49): java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64.r | 213 kB   00:00     
(23/49): libXext-1.3.2-2.1.el7.x86_64.rpm                  |  38 kB   00:00     
(24/49): libXfont-1.4.7-2.el7_0.x86_64.rpm                 | 144 kB   00:00     
(25/49): libXi-1.7.2-2.1.el7.x86_64.rpm                    |  39 kB   00:00     
(26/49): libXtst-1.2.2-2.1.el7.x86_64.rpm                  |  20 kB   00:00     
(27/49): libXrender-0.9.8-2.1.el7.x86_64.rpm               |  25 kB   00:00     
(28/49): libfontenc-1.1.1-5.el7.x86_64.rpm                 |  29 kB   00:00     
(29/49): libjpeg-turbo-1.2.90-5.el7.x86_64.rpm             | 134 kB   00:00     
(30/49): libpng-1.5.13-5.el7.x86_64.rpm                    | 212 kB   00:00     
(31/49): java-1.8.0-openjdk-headless-1.8.0.45-30.b13.el7_1 |  31 MB   00:01     
(32/49): libxcb-1.9-5.el7.x86_64.rpm                       | 169 kB   00:00     
(33/49): libxslt-1.1.28-5.el7.x86_64.rpm                   | 242 kB   00:00     
(34/49): log4j-1.2.17-15.el7.noarch.rpm                    | 443 kB   00:00     
(35/49): python-lxml-3.2.1-4.el7.x86_64.rpm                | 758 kB   00:00     
(36/49): tomcat-7.0.54-1.el7.noarch.rpm                    |  85 kB   00:00     
(37/49): tomcat-el-2.2-api-7.0.54-1.el7.noarch.rpm         |  76 kB   00:00     
(38/49): tomcat-jsp-2.2-api-7.0.54-1.el7.noarch.rpm        |  90 kB   00:00     
(39/49): tomcat-lib-7.0.54-1.el7.noarch.rpm                | 3.7 MB   00:00     
(40/49): python-javapackages-3.4.1-6.el7_0.noarch.rpm      |  31 kB   00:00     
(41/49): tomcat-servlet-3.0-api-7.0.54-1.el7.noarch.rpm    | 207 kB   00:00     
(42/49): ttmkfdir-3.0.9-41.el7.x86_64.rpm                  |  47 kB   00:00     
(43/49): xalan-j2-2.7.1-23.el7.noarch.rpm                  | 1.9 MB   00:00     
(44/49): xerces-j2-2.11.0-17.el7_0.noarch.rpm              | 1.1 MB   00:00     
(45/49): xml-commons-apis-1.4.01-16.el7.noarch.rpm         | 227 kB   00:00     
(46/49): xml-commons-resolver-1.2-15.el7.noarch.rpm        | 108 kB   00:00     
(47/49): xorg-x11-font-utils-7.5-18.1.el7.x86_64.rpm       |  87 kB   00:00     
(48/49): xorg-x11-fonts-Type1-7.5-9.el7.noarch.rpm         | 521 kB   00:00     
(49/49): tzdata-java-2015d-1.el7.noarch.rpm                | 144 kB   00:00     
--------------------------------------------------------------------------------
Total                                               18 MB/s |  46 MB  00:02     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : libfontenc-1.1.1-5.el7.x86_64                               1/49 
  Installing : libICE-1.0.8-7.el7.x86_64                                   2/49 
  Installing : libxslt-1.1.28-5.el7.x86_64                                 3/49 
  Installing : libjpeg-turbo-1.2.90-5.el7.x86_64                           4/49 
  Installing : python-lxml-3.2.1-4.el7.x86_64                              5/49 
  Installing : python-javapackages-3.4.1-6.el7_0.noarch                    6/49 
  Installing : javapackages-tools-3.4.1-6.el7_0.noarch                     7/49 
  Installing : tomcat-servlet-3.0-api-7.0.54-1.el7.noarch                  8/49 
  Installing : tomcat-jsp-2.2-api-7.0.54-1.el7.noarch                      9/49 
  Installing : tomcat-el-2.2-api-7.0.54-1.el7.noarch                      10/49 
  Installing : 1:ecj-4.2.1-8.el7.x86_64                                   11/49 
  Installing : libSM-1.2.1-7.el7.x86_64                                   12/49 
  Installing : libXfont-1.4.7-2.el7_0.x86_64                              13/49 
  Installing : 1:xorg-x11-font-utils-7.5-18.1.el7.x86_64                  14/49 
  Installing : lcms2-2.5-4.el7.x86_64                                     15/49 
  Installing : libXau-1.0.8-2.1.el7.x86_64                                16/49 
  Installing : libxcb-1.9-5.el7.x86_64                                    17/49 
  Installing : ttmkfdir-3.0.9-41.el7.x86_64                               18/49 
  Installing : 2:libpng-1.5.13-5.el7.x86_64                               19/49 
  Installing : tzdata-java-2015d-1.el7.noarch                             20/49 
  Installing : 1:java-1.8.0-openjdk-headless-1.8.0.45-30.b13.el7_1.x86_   21/49 
  Installing : fontpackages-filesystem-1.44-8.el7.noarch                  22/49 
  Installing : fontconfig-2.10.95-7.el7.x86_64                            23/49 
  Installing : xorg-x11-fonts-Type1-7.5-9.el7.noarch                      24/49 
  Installing : libX11-common-1.6.0-2.1.el7.noarch                         25/49 
  Installing : libX11-1.6.0-2.1.el7.x86_64                                26/49 
  Installing : libXext-1.3.2-2.1.el7.x86_64                               27/49 
  Installing : libXi-1.7.2-2.1.el7.x86_64                                 28/49 
  Installing : libXtst-1.2.2-2.1.el7.x86_64                               29/49 
  Installing : giflib-4.1.6-9.el7.x86_64                                  30/49 
  Installing : libXrender-0.9.8-2.1.el7.x86_64                            31/49 
  Installing : 1:java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64          32/49 
  Installing : apache-commons-pool-1.6-9.el7.noarch                       33/49 
  Installing : xml-commons-apis-1.4.01-16.el7.noarch                      34/49 
  Installing : geronimo-jms-1.1.1-19.el7.noarch                           35/49 
  Installing : apache-commons-collections-3.2.1-21.el7.noarch             36/49 
  Installing : xml-commons-resolver-1.2-15.el7.noarch                     37/49 
  Installing : xalan-j2-2.7.1-23.el7.noarch                               38/49 
  Installing : xerces-j2-2.11.0-17.el7_0.noarch                           39/49 
  Installing : apache-commons-daemon-1.0.13-6.el7.x86_64                  40/49 
  Installing : javamail-1.4.6-8.el7.noarch                                41/49 
  Installing : log4j-1.2.17-15.el7.noarch                                 42/49 
  Installing : avalon-logkit-2.1-14.el7.noarch                            43/49 
  Installing : avalon-framework-4.3-10.el7.noarch                         44/49 
  Installing : apache-commons-logging-1.1.2-7.el7.noarch                  45/49 
  Installing : geronimo-jta-1.1.1-17.el7.noarch                           46/49 
  Installing : apache-commons-dbcp-1.4-17.el7.noarch                      47/49 
  Installing : tomcat-lib-7.0.54-1.el7.noarch                             48/49 
  Installing : tomcat-7.0.54-1.el7.noarch                                 49/49 
  Verifying  : libXfont-1.4.7-2.el7_0.x86_64                               1/49 
  Verifying  : giflib-4.1.6-9.el7.x86_64                                   2/49 
  Verifying  : libjpeg-turbo-1.2.90-5.el7.x86_64                           3/49 
  Verifying  : avalon-logkit-2.1-14.el7.noarch                             4/49 
  Verifying  : tomcat-el-2.2-api-7.0.54-1.el7.noarch                       5/49 
  Verifying  : libX11-common-1.6.0-2.1.el7.noarch                          6/49 
  Verifying  : libXtst-1.2.2-2.1.el7.x86_64                                7/49 
  Verifying  : apache-commons-daemon-1.0.13-6.el7.x86_64                   8/49 
  Verifying  : javamail-1.4.6-8.el7.noarch                                 9/49 
  Verifying  : python-lxml-3.2.1-4.el7.x86_64                             10/49 
  Verifying  : 1:xorg-x11-font-utils-7.5-18.1.el7.x86_64                  11/49 
  Verifying  : xml-commons-resolver-1.2-15.el7.noarch                     12/49 
  Verifying  : fontpackages-filesystem-1.44-8.el7.noarch                  13/49 
  Verifying  : libX11-1.6.0-2.1.el7.x86_64                                14/49 
  Verifying  : xml-commons-apis-1.4.01-16.el7.noarch                      15/49 
  Verifying  : 1:ecj-4.2.1-8.el7.x86_64                                   16/49 
  Verifying  : tzdata-java-2015d-1.el7.noarch                             17/49 
  Verifying  : libXi-1.7.2-2.1.el7.x86_64                                 18/49 
  Verifying  : avalon-framework-4.3-10.el7.noarch                         19/49 
  Verifying  : 2:libpng-1.5.13-5.el7.x86_64                               20/49 
  Verifying  : xerces-j2-2.11.0-17.el7_0.noarch                           21/49 
  Verifying  : log4j-1.2.17-15.el7.noarch                                 22/49 
  Verifying  : libXrender-0.9.8-2.1.el7.x86_64                            23/49 
  Verifying  : javapackages-tools-3.4.1-6.el7_0.noarch                    24/49 
  Verifying  : tomcat-7.0.54-1.el7.noarch                                 25/49 
  Verifying  : tomcat-lib-7.0.54-1.el7.noarch                             26/49 
  Verifying  : libxcb-1.9-5.el7.x86_64                                    27/49 
  Verifying  : geronimo-jms-1.1.1-19.el7.noarch                           28/49 
  Verifying  : python-javapackages-3.4.1-6.el7_0.noarch                   29/49 
  Verifying  : xorg-x11-fonts-Type1-7.5-9.el7.noarch                      30/49 
  Verifying  : ttmkfdir-3.0.9-41.el7.x86_64                               31/49 
  Verifying  : libxslt-1.1.28-5.el7.x86_64                                32/49 
  Verifying  : libICE-1.0.8-7.el7.x86_64                                  33/49 
  Verifying  : apache-commons-dbcp-1.4-17.el7.noarch                      34/49 
  Verifying  : libSM-1.2.1-7.el7.x86_64                                   35/49 
  Verifying  : xalan-j2-2.7.1-23.el7.noarch                               36/49 
  Verifying  : 1:java-1.8.0-openjdk-headless-1.8.0.45-30.b13.el7_1.x86_   37/49 
  Verifying  : tomcat-jsp-2.2-api-7.0.54-1.el7.noarch                     38/49 
  Verifying  : tomcat-servlet-3.0-api-7.0.54-1.el7.noarch                 39/49 
  Verifying  : apache-commons-collections-3.2.1-21.el7.noarch             40/49 
  Verifying  : apache-commons-logging-1.1.2-7.el7.noarch                  41/49 
  Verifying  : libfontenc-1.1.1-5.el7.x86_64                              42/49 
  Verifying  : libXau-1.0.8-2.1.el7.x86_64                                43/49 
  Verifying  : apache-commons-pool-1.6-9.el7.noarch                       44/49 
  Verifying  : libXext-1.3.2-2.1.el7.x86_64                               45/49 
  Verifying  : fontconfig-2.10.95-7.el7.x86_64                            46/49 
  Verifying  : 1:java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64          47/49 
  Verifying  : geronimo-jta-1.1.1-17.el7.noarch                           48/49 
  Verifying  : lcms2-2.5-4.el7.x86_64                                     49/49 

Installed:
  tomcat.noarch 0:7.0.54-1.el7                                                  

Dependency Installed:
  apache-commons-collections.noarch 0:3.2.1-21.el7                              
  apache-commons-daemon.x86_64 0:1.0.13-6.el7                                   
  apache-commons-dbcp.noarch 0:1.4-17.el7                                       
  apache-commons-logging.noarch 0:1.1.2-7.el7                                   
  apache-commons-pool.noarch 0:1.6-9.el7                                        
  avalon-framework.noarch 0:4.3-10.el7                                          
  avalon-logkit.noarch 0:2.1-14.el7                                             
  ecj.x86_64 1:4.2.1-8.el7                                                      
  fontconfig.x86_64 0:2.10.95-7.el7                                             
  fontpackages-filesystem.noarch 0:1.44-8.el7                                   
  geronimo-jms.noarch 0:1.1.1-19.el7                                            
  geronimo-jta.noarch 0:1.1.1-17.el7                                            
  giflib.x86_64 0:4.1.6-9.el7                                                   
  java-1.8.0-openjdk.x86_64 1:1.8.0.45-30.b13.el7_1                             
  java-1.8.0-openjdk-headless.x86_64 1:1.8.0.45-30.b13.el7_1                    
  javamail.noarch 0:1.4.6-8.el7                                                 
  javapackages-tools.noarch 0:3.4.1-6.el7_0                                     
  lcms2.x86_64 0:2.5-4.el7                                                      
  libICE.x86_64 0:1.0.8-7.el7                                                   
  libSM.x86_64 0:1.2.1-7.el7                                                    
  libX11.x86_64 0:1.6.0-2.1.el7                                                 
  libX11-common.noarch 0:1.6.0-2.1.el7                                          
  libXau.x86_64 0:1.0.8-2.1.el7                                                 
  libXext.x86_64 0:1.3.2-2.1.el7                                                
  libXfont.x86_64 0:1.4.7-2.el7_0                                               
  libXi.x86_64 0:1.7.2-2.1.el7                                                  
  libXrender.x86_64 0:0.9.8-2.1.el7                                             
  libXtst.x86_64 0:1.2.2-2.1.el7                                                
  libfontenc.x86_64 0:1.1.1-5.el7                                               
  libjpeg-turbo.x86_64 0:1.2.90-5.el7                                           
  libpng.x86_64 2:1.5.13-5.el7                                                  
  libxcb.x86_64 0:1.9-5.el7                                                     
  libxslt.x86_64 0:1.1.28-5.el7                                                 
  log4j.noarch 0:1.2.17-15.el7                                                  
  python-javapackages.noarch 0:3.4.1-6.el7_0                                    
  python-lxml.x86_64 0:3.2.1-4.el7                                              
  tomcat-el-2.2-api.noarch 0:7.0.54-1.el7                                       
  tomcat-jsp-2.2-api.noarch 0:7.0.54-1.el7                                      
  tomcat-lib.noarch 0:7.0.54-1.el7                                              
  tomcat-servlet-3.0-api.noarch 0:7.0.54-1.el7                                  
  ttmkfdir.x86_64 0:3.0.9-41.el7                                                
  tzdata-java.noarch 0:2015d-1.el7                                              
  xalan-j2.noarch 0:2.7.1-23.el7                                                
  xerces-j2.noarch 0:2.11.0-17.el7_0                                            
  xml-commons-apis.noarch 0:1.4.01-16.el7                                       
  xml-commons-resolver.noarch 0:1.2-15.el7                                      
  xorg-x11-font-utils.x86_64 1:7.5-18.1.el7                                     
  xorg-x11-fonts-Type1.noarch 0:7.5-9.el7                                       

Complete!

Mit nachfolgendem Befehl kann überprüft werden, welche Inhalte mit den Paket tomcat installiert wurden.

# rpm -qil tomcat
Name        : tomcat
Epoch       : 0
Version     : 7.0.54
Release     : 1.el7
Architecture: noarch
Install Date: Tue 05 May 2015 02:50:14 PM CEST
Group       : System Environment/Daemons
Size        : 305914
License     : ASL 2.0
Signature   : RSA/SHA256, Sat 14 Mar 2015 09:38:38 AM CET, Key ID 24c6a8a7f4a80eb5
Source RPM  : tomcat-7.0.54-1.el7.src.rpm
Build Date  : Fri 06 Mar 2015 06:54:31 AM CET
Build Host  : worker1.bsys.centos.org
Relocations : (not relocatable)
Packager    : CentOS BuildSystem <http://bugs.centos.org>
Vendor      : CentOS
URL         : http://tomcat.apache.org/
Summary     : Apache Servlet/JSP Engine, RI for Servlet 3.0/JSP 2.2 API
Description :
Tomcat is the servlet container that is used in the official Reference
Implementation for the Java Servlet and JavaServer Pages technologies.
The Java Servlet and JavaServer Pages specifications are developed by
Sun under the Java Community Process.

Tomcat is developed in an open and participatory environment and
released under the Apache Software License version 2.0. Tomcat is intended
to be a collaboration of the best-of-breed developers from around the world.
/etc/logrotate.d/tomcat
/etc/sysconfig/tomcat
/etc/tomcat
/etc/tomcat/Catalina
/etc/tomcat/Catalina/localhost
/etc/tomcat/catalina.policy
/etc/tomcat/catalina.properties
/etc/tomcat/context.xml
/etc/tomcat/log4j.properties
/etc/tomcat/logging.properties
/etc/tomcat/server.xml
/etc/tomcat/tomcat-users.xml
/etc/tomcat/tomcat.conf
/etc/tomcat/web.xml
/usr/bin/tomcat-digest
/usr/bin/tomcat-tool-wrapper
/usr/lib/systemd/system/tomcat.service
/usr/lib/systemd/system/tomcat@.service
/usr/lib/tmpfiles.d/tomcat.conf
/usr/libexec/tomcat
/usr/libexec/tomcat/functions
/usr/libexec/tomcat/preamble
/usr/libexec/tomcat/server
/usr/sbin/tomcat
/usr/share/doc/tomcat-7.0.54
/usr/share/doc/tomcat-7.0.54/LICENSE
/usr/share/doc/tomcat-7.0.54/NOTICE
/usr/share/doc/tomcat-7.0.54/RELEASE-NOTES
/usr/share/tomcat
/usr/share/tomcat/bin/bootstrap.jar
/usr/share/tomcat/bin/catalina-tasks.xml
/usr/share/tomcat/conf
/usr/share/tomcat/lib
/usr/share/tomcat/logs
/usr/share/tomcat/temp
/usr/share/tomcat/webapps
/usr/share/tomcat/work
/var/cache/tomcat
/var/cache/tomcat/temp
/var/cache/tomcat/work
/var/lib/tomcat
/var/lib/tomcat/webapps
/var/lib/tomcats
/var/log/tomcat
/var/log/tomcat/catalina.out
/var/run/tomcat.pid

tomcat-admin-webapps

Zur Installation des Apache Tomcat soll nachfolgendes Paket:

  • tomcat-admin-webapps - ist im base-Repository von CentOS enthalten

zusätzlich installiert werden.

Mit nachfolgendem Befehl, wird das Pakete tomcat-admin-webapps installiert:

# yum install tomcat-admin-webapps
Loaded plugins: changelog, priorities
64 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package tomcat-admin-webapps.noarch 0:7.0.54-1.el7 will be installed
--> Finished Dependency Resolution

Changes in packages about to be updated:


Dependencies Resolved

================================================================================
 Package                    Arch         Version               Repository  Size
================================================================================
Installing:
 tomcat-admin-webapps       noarch       7.0.54-1.el7          base        38 k

Transaction Summary
================================================================================
Install  1 Package

Total download size: 38 k
Installed size: 87 k
Is this ok [y/d/N]: y
Downloading packages:
tomcat-admin-webapps-7.0.54-1.el7.noarch.rpm               |  38 kB   00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : tomcat-admin-webapps-7.0.54-1.el7.noarch                     1/1 
  Verifying  : tomcat-admin-webapps-7.0.54-1.el7.noarch                     1/1 

Installed:
  tomcat-admin-webapps.noarch 0:7.0.54-1.el7                                    

Complete!

Mit nachfolgendem Befehl kann überprüft werden, welche Inhalte mit den Paket tomcat-admin-webapps installiert wurden.

# rpm -qil tomcat-admin-webapps
Name        : tomcat-admin-webapps
Epoch       : 0
Version     : 7.0.54
Release     : 1.el7
Architecture: noarch
Install Date: Tue 05 May 2015 02:54:03 PM CEST
Group       : Applications/System
Size        : 88972
License     : ASL 2.0
Signature   : RSA/SHA256, Sat 14 Mar 2015 09:38:40 AM CET, Key ID 24c6a8a7f4a80eb5
Source RPM  : tomcat-7.0.54-1.el7.src.rpm
Build Date  : Fri 06 Mar 2015 06:54:31 AM CET
Build Host  : worker1.bsys.centos.org
Relocations : (not relocatable)
Packager    : CentOS BuildSystem <http://bugs.centos.org>
Vendor      : CentOS
URL         : http://tomcat.apache.org/
Summary     : The host-manager and manager web applications for Apache Tomcat
Description :
The host-manager and manager web applications for Apache Tomcat.
/var/lib/tomcat/webapps/host-manager
/var/lib/tomcat/webapps/host-manager/META-INF
/var/lib/tomcat/webapps/host-manager/META-INF/context.xml
/var/lib/tomcat/webapps/host-manager/WEB-INF
/var/lib/tomcat/webapps/host-manager/WEB-INF/jsp
/var/lib/tomcat/webapps/host-manager/WEB-INF/jsp/401.jsp
/var/lib/tomcat/webapps/host-manager/WEB-INF/jsp/403.jsp
/var/lib/tomcat/webapps/host-manager/WEB-INF/jsp/404.jsp
/var/lib/tomcat/webapps/host-manager/WEB-INF/web.xml
/var/lib/tomcat/webapps/host-manager/images
/var/lib/tomcat/webapps/host-manager/images/add.gif
/var/lib/tomcat/webapps/host-manager/images/asf-logo.gif
/var/lib/tomcat/webapps/host-manager/images/code.gif
/var/lib/tomcat/webapps/host-manager/images/design.gif
/var/lib/tomcat/webapps/host-manager/images/docs.gif
/var/lib/tomcat/webapps/host-manager/images/fix.gif
/var/lib/tomcat/webapps/host-manager/images/tomcat.gif
/var/lib/tomcat/webapps/host-manager/images/update.gif
/var/lib/tomcat/webapps/host-manager/images/void.gif
/var/lib/tomcat/webapps/host-manager/index.jsp
/var/lib/tomcat/webapps/host-manager/manager.xml
/var/lib/tomcat/webapps/manager
/var/lib/tomcat/webapps/manager/META-INF
/var/lib/tomcat/webapps/manager/META-INF/context.xml
/var/lib/tomcat/webapps/manager/WEB-INF
/var/lib/tomcat/webapps/manager/WEB-INF/jsp
/var/lib/tomcat/webapps/manager/WEB-INF/jsp/401.jsp
/var/lib/tomcat/webapps/manager/WEB-INF/jsp/403.jsp
/var/lib/tomcat/webapps/manager/WEB-INF/jsp/404.jsp
/var/lib/tomcat/webapps/manager/WEB-INF/jsp/sessionDetail.jsp
/var/lib/tomcat/webapps/manager/WEB-INF/jsp/sessionsList.jsp
/var/lib/tomcat/webapps/manager/WEB-INF/web.xml
/var/lib/tomcat/webapps/manager/images
/var/lib/tomcat/webapps/manager/images/add.gif
/var/lib/tomcat/webapps/manager/images/asf-logo.gif
/var/lib/tomcat/webapps/manager/images/code.gif
/var/lib/tomcat/webapps/manager/images/design.gif
/var/lib/tomcat/webapps/manager/images/docs.gif
/var/lib/tomcat/webapps/manager/images/fix.gif
/var/lib/tomcat/webapps/manager/images/tomcat.gif
/var/lib/tomcat/webapps/manager/images/update.gif
/var/lib/tomcat/webapps/manager/images/void.gif
/var/lib/tomcat/webapps/manager/index.jsp
/var/lib/tomcat/webapps/manager/status.xsd
/var/lib/tomcat/webapps/manager/xform.xsl

tomcat-webapps

Zur Installation des Apache Tomcat soll nachfolgendes Paket:

  • tomcat-webapps - ist im base-Repository von CentOS enthalten

zusätzlich installiert werden.

Mit nachfolgendem Befehl, wird das Pakete tomcat-webapps installiert:

# yum install tomcat-webapps
Loaded plugins: changelog, priorities
64 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package tomcat-webapps.noarch 0:7.0.54-1.el7 will be installed
--> Processing Dependency: jakarta-taglibs-standard >= 1.1 for package: tomcat-webapps-7.0.54-1.el7.noarch
--> Running transaction check
---> Package jakarta-taglibs-standard.noarch 0:1.1.2-11.el7 will be installed
--> Finished Dependency Resolution

Changes in packages about to be updated:


Dependencies Resolved

================================================================================
 Package                       Arch        Version              Repository
                                                                           Size
================================================================================
Installing:
 tomcat-webapps                noarch      7.0.54-1.el7         base      351 k
Installing for dependencies:
 jakarta-taglibs-standard      noarch      1.1.2-11.el7         base      300 k

Transaction Summary
================================================================================
Install  1 Package (+1 Dependent package)

Total download size: 652 k
Installed size: 1.5 M
Is this ok [y/d/N]: y
Downloading packages:
(1/2): tomcat-webapps-7.0.54-1.el7.noarch.rpm              | 351 kB   00:00     
(2/2): jakarta-taglibs-standard-1.1.2-11.el7.noarch.rpm    | 300 kB   00:00     
--------------------------------------------------------------------------------
Total                                              1.9 MB/s | 652 kB  00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : jakarta-taglibs-standard-1.1.2-11.el7.noarch                 1/2 
  Installing : tomcat-webapps-7.0.54-1.el7.noarch                           2/2 
  Verifying  : tomcat-webapps-7.0.54-1.el7.noarch                           1/2 
  Verifying  : jakarta-taglibs-standard-1.1.2-11.el7.noarch                 2/2 

Installed:
  tomcat-webapps.noarch 0:7.0.54-1.el7                                          

Dependency Installed:
  jakarta-taglibs-standard.noarch 0:1.1.2-11.el7                                

Complete!

Mit nachfolgendem Befehl kann überprüft werden, welche Inhalte mit den Paket tomcat-admin-webapps installiert wurden.

# rpm -qil tomcat-webapps
Name        : tomcat-webapps
Epoch       : 0
Version     : 7.0.54
Release     : 1.el7
Architecture: noarch
Install Date: Tue 05 May 2015 02:56:38 PM CEST
Group       : Applications/Internet
Size        : 1159592
License     : ASL 2.0
Signature   : RSA/SHA256, Sat 14 Mar 2015 09:38:57 AM CET, Key ID 24c6a8a7f4a80eb5
Source RPM  : tomcat-7.0.54-1.el7.src.rpm
Build Date  : Fri 06 Mar 2015 06:54:31 AM CET
Build Host  : worker1.bsys.centos.org
Relocations : (not relocatable)
Packager    : CentOS BuildSystem <http://bugs.centos.org>
Vendor      : CentOS
URL         : http://tomcat.apache.org/
Summary     : The ROOT and examples web applications for Apache Tomcat
Description :
The ROOT and examples web applications for Apache Tomcat.
/var/lib/tomcat/webapps/ROOT
/var/lib/tomcat/webapps/ROOT/RELEASE-NOTES.txt
/var/lib/tomcat/webapps/ROOT/WEB-INF
/var/lib/tomcat/webapps/ROOT/WEB-INF/web.xml
/var/lib/tomcat/webapps/ROOT/asf-logo-wide.gif
/var/lib/tomcat/webapps/ROOT/asf-logo.png
/var/lib/tomcat/webapps/ROOT/bg-button.png
/var/lib/tomcat/webapps/ROOT/bg-middle.png
/var/lib/tomcat/webapps/ROOT/bg-nav-item.png
/var/lib/tomcat/webapps/ROOT/bg-nav.png
/var/lib/tomcat/webapps/ROOT/bg-upper.png
/var/lib/tomcat/webapps/ROOT/build.xml
/var/lib/tomcat/webapps/ROOT/favicon.ico
/var/lib/tomcat/webapps/ROOT/index.jsp
/var/lib/tomcat/webapps/ROOT/tomcat-power.gif
/var/lib/tomcat/webapps/ROOT/tomcat.css
/var/lib/tomcat/webapps/ROOT/tomcat.gif
/var/lib/tomcat/webapps/ROOT/tomcat.png
/var/lib/tomcat/webapps/ROOT/tomcat.svg
/var/lib/tomcat/webapps/examples
/var/lib/tomcat/webapps/examples/META-INF
/var/lib/tomcat/webapps/examples/META-INF/context.xml
/var/lib/tomcat/webapps/examples/WEB-INF
/var/lib/tomcat/webapps/examples/WEB-INF/classes
/var/lib/tomcat/webapps/examples/WEB-INF/classes/CookieExample.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/CookieExample.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/HelloWorldExample.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/HelloWorldExample.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/LocalStrings.properties
/var/lib/tomcat/webapps/examples/WEB-INF/classes/LocalStrings_en.properties
/var/lib/tomcat/webapps/examples/WEB-INF/classes/LocalStrings_es.properties
/var/lib/tomcat/webapps/examples/WEB-INF/classes/LocalStrings_fr.properties
/var/lib/tomcat/webapps/examples/WEB-INF/classes/LocalStrings_pt.properties
/var/lib/tomcat/webapps/examples/WEB-INF/classes/RequestHeaderExample.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/RequestHeaderExample.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/RequestInfoExample.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/RequestInfoExample.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/RequestParamExample.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/RequestParamExample.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/ServletToJsp.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/ServletToJsp.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/SessionExample.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/SessionExample.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/async
/var/lib/tomcat/webapps/examples/WEB-INF/classes/async/Async0$1.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/async/Async0.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/async/Async0.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/async/Async1$1.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/async/Async1.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/async/Async1.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/async/Async2$1.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/async/Async2.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/async/Async2.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/async/Async3.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/async/Async3.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/async/AsyncStockServlet.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/async/AsyncStockServlet.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/async/Stockticker$Stock.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/async/Stockticker$TickListener.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/async/Stockticker.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/async/Stockticker.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/cal
/var/lib/tomcat/webapps/examples/WEB-INF/classes/cal/Entries.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/cal/Entries.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/cal/Entry.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/cal/Entry.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/cal/JspCalendar.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/cal/JspCalendar.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/cal/TableBean.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/cal/TableBean.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/chat
/var/lib/tomcat/webapps/examples/WEB-INF/classes/chat/ChatServlet$MessageSender.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/chat/ChatServlet.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/chat/ChatServlet.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/checkbox
/var/lib/tomcat/webapps/examples/WEB-INF/classes/checkbox/CheckTest.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/checkbox/CheckTest.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/colors
/var/lib/tomcat/webapps/examples/WEB-INF/classes/colors/ColorGameBean.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/colors/ColorGameBean.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/compressionFilters
/var/lib/tomcat/webapps/examples/WEB-INF/classes/compressionFilters/CompressionFilter.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/compressionFilters/CompressionFilter.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/compressionFilters/CompressionFilterTestServlet.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/compressionFilters/CompressionFilterTestServlet.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/compressionFilters/CompressionResponseStream.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/compressionFilters/CompressionResponseStream.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/compressionFilters/CompressionServletResponseWrapper.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/compressionFilters/CompressionServletResponseWrapper.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/dates
/var/lib/tomcat/webapps/examples/WEB-INF/classes/dates/JspCalendar.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/dates/JspCalendar.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/error
/var/lib/tomcat/webapps/examples/WEB-INF/classes/error/Smart.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/error/Smart.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/examples
/var/lib/tomcat/webapps/examples/WEB-INF/classes/examples/ExampleTagBase.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/examples/ExampleTagBase.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/examples/FooTag.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/examples/FooTag.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/examples/FooTagExtraInfo.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/examples/FooTagExtraInfo.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/examples/LogTag.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/examples/LogTag.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/examples/ShowSource.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/examples/ShowSource.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/examples/ValuesTag.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/examples/ValuesTag.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/filters
/var/lib/tomcat/webapps/examples/WEB-INF/classes/filters/ExampleFilter.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/filters/ExampleFilter.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/jsp2
/var/lib/tomcat/webapps/examples/WEB-INF/classes/jsp2/examples
/var/lib/tomcat/webapps/examples/WEB-INF/classes/jsp2/examples/BookBean.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/jsp2/examples/BookBean.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/jsp2/examples/FooBean.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/jsp2/examples/FooBean.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/jsp2/examples/ValuesBean.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/jsp2/examples/ValuesBean.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/jsp2/examples/el
/var/lib/tomcat/webapps/examples/WEB-INF/classes/jsp2/examples/el/Functions.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/jsp2/examples/el/Functions.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag
/var/lib/tomcat/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/EchoAttributesTag.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/EchoAttributesTag.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/FindBookSimpleTag.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/FindBookSimpleTag.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/HelloWorldSimpleTag.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/HelloWorldSimpleTag.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/RepeatSimpleTag.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/RepeatSimpleTag.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/ShuffleSimpleTag.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/ShuffleSimpleTag.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/TileSimpleTag.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/TileSimpleTag.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/listeners
/var/lib/tomcat/webapps/examples/WEB-INF/classes/listeners/ContextListener.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/listeners/ContextListener.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/listeners/SessionListener.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/listeners/SessionListener.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/num
/var/lib/tomcat/webapps/examples/WEB-INF/classes/num/NumberGuessBean.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/num/NumberGuessBean.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/sessions
/var/lib/tomcat/webapps/examples/WEB-INF/classes/sessions/DummyCart.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/sessions/DummyCart.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/util
/var/lib/tomcat/webapps/examples/WEB-INF/classes/util/HTMLFilter.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/util/HTMLFilter.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/validators
/var/lib/tomcat/webapps/examples/WEB-INF/classes/validators/DebugValidator.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/validators/DebugValidator.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/ExamplesConfig.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/ExamplesConfig.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/chat
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/chat/ChatAnnotation.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/chat/ChatAnnotation.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/drawboard
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/Client$1.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/Client.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/Client.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawMessage$ParseException.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawMessage.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawMessage.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawboardContextListener.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawboardContextListener.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawboardEndpoint$1.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawboardEndpoint$2.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawboardEndpoint$3$1.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawboardEndpoint$3.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawboardEndpoint.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawboardEndpoint.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/Room$1$1.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/Room$1.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/Room$2.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/Room$MessageType.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/Room$Player.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/Room.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/Room.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/wsmessages
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/wsmessages/AbstractWebsocketMessage.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/wsmessages/AbstractWebsocketMessage.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/wsmessages/BinaryWebsocketMessage.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/wsmessages/BinaryWebsocketMessage.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/wsmessages/CloseWebsocketMessage.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/wsmessages/CloseWebsocketMessage.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/wsmessages/StringWebsocketMessage.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/wsmessages/StringWebsocketMessage.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/echo
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/echo/EchoAnnotation.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/echo/EchoAnnotation.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/echo/EchoEndpoint$1.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/echo/EchoEndpoint$EchoMessageHandler.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/echo/EchoEndpoint.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/echo/EchoEndpoint.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/snake
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/snake/Direction.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/snake/Direction.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/snake/Location$1.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/snake/Location.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/snake/Location.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/snake/Snake.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/snake/Snake.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/snake/SnakeAnnotation.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/snake/SnakeAnnotation.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/snake/SnakeTimer$1.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/snake/SnakeTimer.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/snake/SnakeTimer.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/tc7
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/tc7/chat
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/tc7/chat/ChatWebSocketServlet$1.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/tc7/chat/ChatWebSocketServlet$ChatMessageInbound.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/tc7/chat/ChatWebSocketServlet.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/tc7/chat/ChatWebSocketServlet.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/tc7/echo
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/tc7/echo/EchoMessage$EchoMessageInbound.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/tc7/echo/EchoMessage.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/tc7/echo/EchoMessage.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/tc7/echo/EchoStream$1.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/tc7/echo/EchoStream$EchoStreamInbound.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/tc7/echo/EchoStream.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/tc7/echo/EchoStream.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/tc7/snake
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/tc7/snake/Direction.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/tc7/snake/Direction.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/tc7/snake/Location$1.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/tc7/snake/Location.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/tc7/snake/Location.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/tc7/snake/Snake.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/tc7/snake/Snake.java
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/tc7/snake/SnakeWebSocketServlet$1.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/tc7/snake/SnakeWebSocketServlet$SnakeMessageInbound.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/tc7/snake/SnakeWebSocketServlet.class
/var/lib/tomcat/webapps/examples/WEB-INF/classes/websocket/tc7/snake/SnakeWebSocketServlet.java
/var/lib/tomcat/webapps/examples/WEB-INF/jsp
/var/lib/tomcat/webapps/examples/WEB-INF/jsp/applet
/var/lib/tomcat/webapps/examples/WEB-INF/jsp/applet/Clock2.java
/var/lib/tomcat/webapps/examples/WEB-INF/jsp/debug-taglib.tld
/var/lib/tomcat/webapps/examples/WEB-INF/jsp/example-taglib.tld
/var/lib/tomcat/webapps/examples/WEB-INF/jsp2
/var/lib/tomcat/webapps/examples/WEB-INF/jsp2/jsp2-example-taglib.tld
/var/lib/tomcat/webapps/examples/WEB-INF/lib
/var/lib/tomcat/webapps/examples/WEB-INF/lib/jstl.jar
/var/lib/tomcat/webapps/examples/WEB-INF/lib/standard.jar
/var/lib/tomcat/webapps/examples/WEB-INF/tags
/var/lib/tomcat/webapps/examples/WEB-INF/tags/displayProducts.tag
/var/lib/tomcat/webapps/examples/WEB-INF/tags/helloWorld.tag
/var/lib/tomcat/webapps/examples/WEB-INF/tags/panel.tag
/var/lib/tomcat/webapps/examples/WEB-INF/tags/xhtmlbasic.tag
/var/lib/tomcat/webapps/examples/WEB-INF/web.xml
/var/lib/tomcat/webapps/examples/index.html
/var/lib/tomcat/webapps/examples/jsp
/var/lib/tomcat/webapps/examples/jsp/async
/var/lib/tomcat/webapps/examples/jsp/async/async1.jsp
/var/lib/tomcat/webapps/examples/jsp/async/async1.jsp.html
/var/lib/tomcat/webapps/examples/jsp/async/async3.jsp
/var/lib/tomcat/webapps/examples/jsp/async/async3.jsp.html
/var/lib/tomcat/webapps/examples/jsp/async/index.jsp
/var/lib/tomcat/webapps/examples/jsp/async/index.jsp.html
/var/lib/tomcat/webapps/examples/jsp/cal
/var/lib/tomcat/webapps/examples/jsp/cal/Entries.java.html
/var/lib/tomcat/webapps/examples/jsp/cal/Entry.java.html
/var/lib/tomcat/webapps/examples/jsp/cal/JspCalendar.java.html
/var/lib/tomcat/webapps/examples/jsp/cal/TableBean.java.html
/var/lib/tomcat/webapps/examples/jsp/cal/cal1.jsp
/var/lib/tomcat/webapps/examples/jsp/cal/cal1.jsp.html
/var/lib/tomcat/webapps/examples/jsp/cal/cal2.jsp
/var/lib/tomcat/webapps/examples/jsp/cal/cal2.jsp.html
/var/lib/tomcat/webapps/examples/jsp/cal/calendar.html
/var/lib/tomcat/webapps/examples/jsp/cal/login.html
/var/lib/tomcat/webapps/examples/jsp/chat
/var/lib/tomcat/webapps/examples/jsp/chat/index.jsp
/var/lib/tomcat/webapps/examples/jsp/chat/index.jsp.html
/var/lib/tomcat/webapps/examples/jsp/chat/login.jsp
/var/lib/tomcat/webapps/examples/jsp/chat/login.jsp.html
/var/lib/tomcat/webapps/examples/jsp/chat/post.jsp
/var/lib/tomcat/webapps/examples/jsp/chat/post.jsp.html
/var/lib/tomcat/webapps/examples/jsp/checkbox
/var/lib/tomcat/webapps/examples/jsp/checkbox/CheckTest.html
/var/lib/tomcat/webapps/examples/jsp/checkbox/check.html
/var/lib/tomcat/webapps/examples/jsp/checkbox/checkresult.jsp
/var/lib/tomcat/webapps/examples/jsp/checkbox/checkresult.jsp.html
/var/lib/tomcat/webapps/examples/jsp/checkbox/cresult.html
/var/lib/tomcat/webapps/examples/jsp/colors
/var/lib/tomcat/webapps/examples/jsp/colors/ColorGameBean.html
/var/lib/tomcat/webapps/examples/jsp/colors/clr.html
/var/lib/tomcat/webapps/examples/jsp/colors/colors.html
/var/lib/tomcat/webapps/examples/jsp/colors/colrs.jsp
/var/lib/tomcat/webapps/examples/jsp/colors/colrs.jsp.html
/var/lib/tomcat/webapps/examples/jsp/dates
/var/lib/tomcat/webapps/examples/jsp/dates/date.html
/var/lib/tomcat/webapps/examples/jsp/dates/date.jsp
/var/lib/tomcat/webapps/examples/jsp/dates/date.jsp.html
/var/lib/tomcat/webapps/examples/jsp/error
/var/lib/tomcat/webapps/examples/jsp/error/er.html
/var/lib/tomcat/webapps/examples/jsp/error/err.jsp
/var/lib/tomcat/webapps/examples/jsp/error/err.jsp.html
/var/lib/tomcat/webapps/examples/jsp/error/error.html
/var/lib/tomcat/webapps/examples/jsp/error/errorpge.jsp
/var/lib/tomcat/webapps/examples/jsp/error/errorpge.jsp.html
/var/lib/tomcat/webapps/examples/jsp/forward
/var/lib/tomcat/webapps/examples/jsp/forward/forward.jsp
/var/lib/tomcat/webapps/examples/jsp/forward/forward.jsp.html
/var/lib/tomcat/webapps/examples/jsp/forward/fwd.html
/var/lib/tomcat/webapps/examples/jsp/forward/one.jsp
/var/lib/tomcat/webapps/examples/jsp/forward/one.jsp.html
/var/lib/tomcat/webapps/examples/jsp/forward/two.html
/var/lib/tomcat/webapps/examples/jsp/images
/var/lib/tomcat/webapps/examples/jsp/images/code.gif
/var/lib/tomcat/webapps/examples/jsp/images/execute.gif
/var/lib/tomcat/webapps/examples/jsp/images/read.gif
/var/lib/tomcat/webapps/examples/jsp/images/return.gif
/var/lib/tomcat/webapps/examples/jsp/include
/var/lib/tomcat/webapps/examples/jsp/include/foo.html
/var/lib/tomcat/webapps/examples/jsp/include/foo.jsp
/var/lib/tomcat/webapps/examples/jsp/include/foo.jsp.html
/var/lib/tomcat/webapps/examples/jsp/include/inc.html
/var/lib/tomcat/webapps/examples/jsp/include/include.jsp
/var/lib/tomcat/webapps/examples/jsp/include/include.jsp.html
/var/lib/tomcat/webapps/examples/jsp/index.html
/var/lib/tomcat/webapps/examples/jsp/jsp2
/var/lib/tomcat/webapps/examples/jsp/jsp2/el
/var/lib/tomcat/webapps/examples/jsp/jsp2/el/Functions.java.html
/var/lib/tomcat/webapps/examples/jsp/jsp2/el/ValuesBean.java.html
/var/lib/tomcat/webapps/examples/jsp/jsp2/el/ValuesTag.java.html
/var/lib/tomcat/webapps/examples/jsp/jsp2/el/basic-arithmetic.html
/var/lib/tomcat/webapps/examples/jsp/jsp2/el/basic-arithmetic.jsp
/var/lib/tomcat/webapps/examples/jsp/jsp2/el/basic-arithmetic.jsp.html
/var/lib/tomcat/webapps/examples/jsp/jsp2/el/basic-comparisons.html
/var/lib/tomcat/webapps/examples/jsp/jsp2/el/basic-comparisons.jsp
/var/lib/tomcat/webapps/examples/jsp/jsp2/el/basic-comparisons.jsp.html
/var/lib/tomcat/webapps/examples/jsp/jsp2/el/composite.html
/var/lib/tomcat/webapps/examples/jsp/jsp2/el/composite.jsp
/var/lib/tomcat/webapps/examples/jsp/jsp2/el/composite.jsp.html
/var/lib/tomcat/webapps/examples/jsp/jsp2/el/functions.html
/var/lib/tomcat/webapps/examples/jsp/jsp2/el/functions.jsp
/var/lib/tomcat/webapps/examples/jsp/jsp2/el/functions.jsp.html
/var/lib/tomcat/webapps/examples/jsp/jsp2/el/implicit-objects.html
/var/lib/tomcat/webapps/examples/jsp/jsp2/el/implicit-objects.jsp
/var/lib/tomcat/webapps/examples/jsp/jsp2/el/implicit-objects.jsp.html
/var/lib/tomcat/webapps/examples/jsp/jsp2/jspattribute
/var/lib/tomcat/webapps/examples/jsp/jsp2/jspattribute/FooBean.java.html
/var/lib/tomcat/webapps/examples/jsp/jsp2/jspattribute/HelloWorldSimpleTag.java.html
/var/lib/tomcat/webapps/examples/jsp/jsp2/jspattribute/ShuffleSimpleTag.java.html
/var/lib/tomcat/webapps/examples/jsp/jsp2/jspattribute/TileSimpleTag.java.html
/var/lib/tomcat/webapps/examples/jsp/jsp2/jspattribute/jspattribute.html
/var/lib/tomcat/webapps/examples/jsp/jsp2/jspattribute/jspattribute.jsp
/var/lib/tomcat/webapps/examples/jsp/jsp2/jspattribute/jspattribute.jsp.html
/var/lib/tomcat/webapps/examples/jsp/jsp2/jspattribute/shuffle.html
/var/lib/tomcat/webapps/examples/jsp/jsp2/jspattribute/shuffle.jsp
/var/lib/tomcat/webapps/examples/jsp/jsp2/jspattribute/shuffle.jsp.html
/var/lib/tomcat/webapps/examples/jsp/jsp2/jspx
/var/lib/tomcat/webapps/examples/jsp/jsp2/jspx/basic.html
/var/lib/tomcat/webapps/examples/jsp/jsp2/jspx/basic.jspx
/var/lib/tomcat/webapps/examples/jsp/jsp2/jspx/basic.jspx.html
/var/lib/tomcat/webapps/examples/jsp/jsp2/jspx/svgexample.html
/var/lib/tomcat/webapps/examples/jsp/jsp2/jspx/textRotate.html
/var/lib/tomcat/webapps/examples/jsp/jsp2/jspx/textRotate.jpg
/var/lib/tomcat/webapps/examples/jsp/jsp2/jspx/textRotate.jspx
/var/lib/tomcat/webapps/examples/jsp/jsp2/jspx/textRotate.jspx.html
/var/lib/tomcat/webapps/examples/jsp/jsp2/misc
/var/lib/tomcat/webapps/examples/jsp/jsp2/misc/EchoAttributesTag.java.html
/var/lib/tomcat/webapps/examples/jsp/jsp2/misc/coda.jspf
/var/lib/tomcat/webapps/examples/jsp/jsp2/misc/coda.jspf.html
/var/lib/tomcat/webapps/examples/jsp/jsp2/misc/config.html
/var/lib/tomcat/webapps/examples/jsp/jsp2/misc/config.jsp
/var/lib/tomcat/webapps/examples/jsp/jsp2/misc/config.jsp.html
/var/lib/tomcat/webapps/examples/jsp/jsp2/misc/dynamicattrs.html
/var/lib/tomcat/webapps/examples/jsp/jsp2/misc/dynamicattrs.jsp
/var/lib/tomcat/webapps/examples/jsp/jsp2/misc/dynamicattrs.jsp.html
/var/lib/tomcat/webapps/examples/jsp/jsp2/misc/prelude.jspf
/var/lib/tomcat/webapps/examples/jsp/jsp2/misc/prelude.jspf.html
/var/lib/tomcat/webapps/examples/jsp/jsp2/simpletag
/var/lib/tomcat/webapps/examples/jsp/jsp2/simpletag/BookBean.java.html
/var/lib/tomcat/webapps/examples/jsp/jsp2/simpletag/FindBookSimpleTag.java.html
/var/lib/tomcat/webapps/examples/jsp/jsp2/simpletag/Functions.java.html
/var/lib/tomcat/webapps/examples/jsp/jsp2/simpletag/HelloWorldSimpleTag.java.html
/var/lib/tomcat/webapps/examples/jsp/jsp2/simpletag/RepeatSimpleTag.java.html
/var/lib/tomcat/webapps/examples/jsp/jsp2/simpletag/book.html
/var/lib/tomcat/webapps/examples/jsp/jsp2/simpletag/book.jsp
/var/lib/tomcat/webapps/examples/jsp/jsp2/simpletag/book.jsp.html
/var/lib/tomcat/webapps/examples/jsp/jsp2/simpletag/hello.html
/var/lib/tomcat/webapps/examples/jsp/jsp2/simpletag/hello.jsp
/var/lib/tomcat/webapps/examples/jsp/jsp2/simpletag/hello.jsp.html
/var/lib/tomcat/webapps/examples/jsp/jsp2/simpletag/repeat.html
/var/lib/tomcat/webapps/examples/jsp/jsp2/simpletag/repeat.jsp
/var/lib/tomcat/webapps/examples/jsp/jsp2/simpletag/repeat.jsp.html
/var/lib/tomcat/webapps/examples/jsp/jsp2/tagfiles
/var/lib/tomcat/webapps/examples/jsp/jsp2/tagfiles/displayProducts.tag.html
/var/lib/tomcat/webapps/examples/jsp/jsp2/tagfiles/hello.html
/var/lib/tomcat/webapps/examples/jsp/jsp2/tagfiles/hello.jsp
/var/lib/tomcat/webapps/examples/jsp/jsp2/tagfiles/hello.jsp.html
/var/lib/tomcat/webapps/examples/jsp/jsp2/tagfiles/helloWorld.tag.html
/var/lib/tomcat/webapps/examples/jsp/jsp2/tagfiles/panel.html
/var/lib/tomcat/webapps/examples/jsp/jsp2/tagfiles/panel.jsp
/var/lib/tomcat/webapps/examples/jsp/jsp2/tagfiles/panel.jsp.html
/var/lib/tomcat/webapps/examples/jsp/jsp2/tagfiles/panel.tag.html
/var/lib/tomcat/webapps/examples/jsp/jsp2/tagfiles/products.html
/var/lib/tomcat/webapps/examples/jsp/jsp2/tagfiles/products.jsp
/var/lib/tomcat/webapps/examples/jsp/jsp2/tagfiles/products.jsp.html
/var/lib/tomcat/webapps/examples/jsp/jsp2/tagfiles/xhtmlbasic.tag.html
/var/lib/tomcat/webapps/examples/jsp/jsptoserv
/var/lib/tomcat/webapps/examples/jsp/jsptoserv/ServletToJsp.java.html
/var/lib/tomcat/webapps/examples/jsp/jsptoserv/hello.jsp
/var/lib/tomcat/webapps/examples/jsp/jsptoserv/hello.jsp.html
/var/lib/tomcat/webapps/examples/jsp/jsptoserv/jsptoservlet.jsp
/var/lib/tomcat/webapps/examples/jsp/jsptoserv/jsptoservlet.jsp.html
/var/lib/tomcat/webapps/examples/jsp/jsptoserv/jts.html
/var/lib/tomcat/webapps/examples/jsp/num
/var/lib/tomcat/webapps/examples/jsp/num/numguess.html
/var/lib/tomcat/webapps/examples/jsp/num/numguess.jsp
/var/lib/tomcat/webapps/examples/jsp/num/numguess.jsp.html
/var/lib/tomcat/webapps/examples/jsp/plugin
/var/lib/tomcat/webapps/examples/jsp/plugin/applet
/var/lib/tomcat/webapps/examples/jsp/plugin/applet/Clock2.class
/var/lib/tomcat/webapps/examples/jsp/plugin/applet/Clock2.java
/var/lib/tomcat/webapps/examples/jsp/plugin/plugin.html
/var/lib/tomcat/webapps/examples/jsp/plugin/plugin.jsp
/var/lib/tomcat/webapps/examples/jsp/plugin/plugin.jsp.html
/var/lib/tomcat/webapps/examples/jsp/security
/var/lib/tomcat/webapps/examples/jsp/security/protected
/var/lib/tomcat/webapps/examples/jsp/security/protected/error.jsp
/var/lib/tomcat/webapps/examples/jsp/security/protected/error.jsp.html
/var/lib/tomcat/webapps/examples/jsp/security/protected/index.jsp
/var/lib/tomcat/webapps/examples/jsp/security/protected/index.jsp.html
/var/lib/tomcat/webapps/examples/jsp/security/protected/login.jsp
/var/lib/tomcat/webapps/examples/jsp/security/protected/login.jsp.html
/var/lib/tomcat/webapps/examples/jsp/sessions
/var/lib/tomcat/webapps/examples/jsp/sessions/DummyCart.html
/var/lib/tomcat/webapps/examples/jsp/sessions/carts.html
/var/lib/tomcat/webapps/examples/jsp/sessions/carts.jsp
/var/lib/tomcat/webapps/examples/jsp/sessions/carts.jsp.html
/var/lib/tomcat/webapps/examples/jsp/sessions/crt.html
/var/lib/tomcat/webapps/examples/jsp/simpletag
/var/lib/tomcat/webapps/examples/jsp/simpletag/foo.html
/var/lib/tomcat/webapps/examples/jsp/simpletag/foo.jsp
/var/lib/tomcat/webapps/examples/jsp/simpletag/foo.jsp.html
/var/lib/tomcat/webapps/examples/jsp/snp
/var/lib/tomcat/webapps/examples/jsp/snp/snoop.html
/var/lib/tomcat/webapps/examples/jsp/snp/snoop.jsp
/var/lib/tomcat/webapps/examples/jsp/snp/snoop.jsp.html
/var/lib/tomcat/webapps/examples/jsp/source.jsp
/var/lib/tomcat/webapps/examples/jsp/source.jsp.html
/var/lib/tomcat/webapps/examples/jsp/tagplugin
/var/lib/tomcat/webapps/examples/jsp/tagplugin/choose.html
/var/lib/tomcat/webapps/examples/jsp/tagplugin/choose.jsp
/var/lib/tomcat/webapps/examples/jsp/tagplugin/choose.jsp.html
/var/lib/tomcat/webapps/examples/jsp/tagplugin/foreach.html
/var/lib/tomcat/webapps/examples/jsp/tagplugin/foreach.jsp
/var/lib/tomcat/webapps/examples/jsp/tagplugin/foreach.jsp.html
/var/lib/tomcat/webapps/examples/jsp/tagplugin/howto.html
/var/lib/tomcat/webapps/examples/jsp/tagplugin/if.html
/var/lib/tomcat/webapps/examples/jsp/tagplugin/if.jsp
/var/lib/tomcat/webapps/examples/jsp/tagplugin/if.jsp.html
/var/lib/tomcat/webapps/examples/jsp/tagplugin/notes.html
/var/lib/tomcat/webapps/examples/jsp/xml
/var/lib/tomcat/webapps/examples/jsp/xml/xml.html
/var/lib/tomcat/webapps/examples/jsp/xml/xml.jsp
/var/lib/tomcat/webapps/examples/jsp/xml/xml.jsp.html
/var/lib/tomcat/webapps/examples/servlets
/var/lib/tomcat/webapps/examples/servlets/cookies.html
/var/lib/tomcat/webapps/examples/servlets/helloworld.html
/var/lib/tomcat/webapps/examples/servlets/images
/var/lib/tomcat/webapps/examples/servlets/images/code.gif
/var/lib/tomcat/webapps/examples/servlets/images/execute.gif
/var/lib/tomcat/webapps/examples/servlets/images/return.gif
/var/lib/tomcat/webapps/examples/servlets/index.html
/var/lib/tomcat/webapps/examples/servlets/reqheaders.html
/var/lib/tomcat/webapps/examples/servlets/reqinfo.html
/var/lib/tomcat/webapps/examples/servlets/reqparams.html
/var/lib/tomcat/webapps/examples/servlets/sessions.html
/var/lib/tomcat/webapps/examples/websocket
/var/lib/tomcat/webapps/examples/websocket-deprecated
/var/lib/tomcat/webapps/examples/websocket-deprecated/chat.html
/var/lib/tomcat/webapps/examples/websocket-deprecated/echo.html
/var/lib/tomcat/webapps/examples/websocket-deprecated/index.html
/var/lib/tomcat/webapps/examples/websocket-deprecated/snake.html
/var/lib/tomcat/webapps/examples/websocket/chat.xhtml
/var/lib/tomcat/webapps/examples/websocket/drawboard.xhtml
/var/lib/tomcat/webapps/examples/websocket/echo.xhtml
/var/lib/tomcat/webapps/examples/websocket/index.xhtml
/var/lib/tomcat/webapps/examples/websocket/snake.xhtml
/var/lib/tomcat/webapps/sample
/var/lib/tomcat/webapps/sample/META-INF
/var/lib/tomcat/webapps/sample/META-INF/MANIFEST.MF
/var/lib/tomcat/webapps/sample/WEB-INF
/var/lib/tomcat/webapps/sample/WEB-INF/classes
/var/lib/tomcat/webapps/sample/WEB-INF/classes/mypackage
/var/lib/tomcat/webapps/sample/WEB-INF/classes/mypackage/Hello.class
/var/lib/tomcat/webapps/sample/WEB-INF/web.xml
/var/lib/tomcat/webapps/sample/hello.jsp
/var/lib/tomcat/webapps/sample/images
/var/lib/tomcat/webapps/sample/images/tomcat.gif
/var/lib/tomcat/webapps/sample/index.html

tomcat-docs-webapp

Zur Installation des Apache Tomcat soll nachfolgendes Paket:

  • tomcat-docs-webapp - ist im base-Repository von CentOS enthalten

zusätzlich installiert werden.

Mit nachfolgendem Befehl, wird das Pakete tomcat-docs-webapp installiert:

# yum install tomcat-docs-webapp
Loaded plugins: changelog, priorities
64 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package tomcat-docs-webapp.noarch 0:7.0.54-1.el7 will be installed
--> Finished Dependency Resolution

Changes in packages about to be updated:


Dependencies Resolved

================================================================================
 Package                   Arch          Version              Repository   Size
================================================================================
Installing:
 tomcat-docs-webapp        noarch        7.0.54-1.el7         base        644 k

Transaction Summary
================================================================================
Install  1 Package

Total download size: 644 k
Installed size: 3.6 M
Is this ok [y/d/N]: y
Downloading packages:
tomcat-docs-webapp-7.0.54-1.el7.noarch.rpm                 | 644 kB   00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : tomcat-docs-webapp-7.0.54-1.el7.noarch                       1/1 
  Verifying  : tomcat-docs-webapp-7.0.54-1.el7.noarch                       1/1 

Installed:
  tomcat-docs-webapp.noarch 0:7.0.54-1.el7                                      

Complete!

Mit nachfolgendem Befehl kann überprüft werden, welche Inhalte mit den Paket tomcat-docs-webapp installiert wurden.

# rpm -qil tomcat-docs-webapp
Name        : tomcat-docs-webapp
Epoch       : 0
Version     : 7.0.54
Release     : 1.el7
Architecture: noarch
Install Date: Thu 07 May 2015 06:03:44 PM CEST
Group       : Applications/Text
Size        : 3806693
License     : ASL 2.0
Signature   : RSA/SHA256, Sat 14 Mar 2015 09:38:41 AM CET, Key ID 24c6a8a7f4a80eb5
Source RPM  : tomcat-7.0.54-1.el7.src.rpm
Build Date  : Fri 06 Mar 2015 06:54:31 AM CET
Build Host  : worker1.bsys.centos.org
Relocations : (not relocatable)
Packager    : CentOS BuildSystem <http://bugs.centos.org>
Vendor      : CentOS
URL         : http://tomcat.apache.org/
Summary     : The docs web application for Apache Tomcat
Description :
The docs web application for Apache Tomcat.
/var/lib/tomcat/webapps/docs
/var/lib/tomcat/webapps/docs/BUILDING.txt
/var/lib/tomcat/webapps/docs/RELEASE-NOTES.txt
/var/lib/tomcat/webapps/docs/RUNNING.txt
/var/lib/tomcat/webapps/docs/WEB-INF
/var/lib/tomcat/webapps/docs/WEB-INF/web.xml
/var/lib/tomcat/webapps/docs/aio.html
/var/lib/tomcat/webapps/docs/api
/var/lib/tomcat/webapps/docs/api/index.html
/var/lib/tomcat/webapps/docs/appdev
/var/lib/tomcat/webapps/docs/appdev/build.xml.txt
/var/lib/tomcat/webapps/docs/appdev/deployment.html
/var/lib/tomcat/webapps/docs/appdev/index.html
/var/lib/tomcat/webapps/docs/appdev/installation.html
/var/lib/tomcat/webapps/docs/appdev/introduction.html
/var/lib/tomcat/webapps/docs/appdev/processes.html
/var/lib/tomcat/webapps/docs/appdev/sample
/var/lib/tomcat/webapps/docs/appdev/sample/build.xml
/var/lib/tomcat/webapps/docs/appdev/sample/docs
/var/lib/tomcat/webapps/docs/appdev/sample/docs/README.txt
/var/lib/tomcat/webapps/docs/appdev/sample/index.html
/var/lib/tomcat/webapps/docs/appdev/sample/src
/var/lib/tomcat/webapps/docs/appdev/sample/src/mypackage
/var/lib/tomcat/webapps/docs/appdev/sample/src/mypackage/Hello.java
/var/lib/tomcat/webapps/docs/appdev/sample/web
/var/lib/tomcat/webapps/docs/appdev/sample/web/WEB-INF
/var/lib/tomcat/webapps/docs/appdev/sample/web/WEB-INF/web.xml
/var/lib/tomcat/webapps/docs/appdev/sample/web/hello.jsp
/var/lib/tomcat/webapps/docs/appdev/sample/web/images
/var/lib/tomcat/webapps/docs/appdev/sample/web/images/tomcat.gif
/var/lib/tomcat/webapps/docs/appdev/sample/web/index.html
/var/lib/tomcat/webapps/docs/appdev/source.html
/var/lib/tomcat/webapps/docs/appdev/web.xml.txt
/var/lib/tomcat/webapps/docs/apr.html
/var/lib/tomcat/webapps/docs/architecture
/var/lib/tomcat/webapps/docs/architecture/index.html
/var/lib/tomcat/webapps/docs/architecture/overview.html
/var/lib/tomcat/webapps/docs/architecture/requestProcess
/var/lib/tomcat/webapps/docs/architecture/requestProcess.html
/var/lib/tomcat/webapps/docs/architecture/requestProcess/requestProcess.pdf
/var/lib/tomcat/webapps/docs/architecture/requestProcess/roseModel.mdl
/var/lib/tomcat/webapps/docs/architecture/startup
/var/lib/tomcat/webapps/docs/architecture/startup.html
/var/lib/tomcat/webapps/docs/architecture/startup/serverStartup.pdf
/var/lib/tomcat/webapps/docs/architecture/startup/serverStartup.txt
/var/lib/tomcat/webapps/docs/balancer-howto.html
/var/lib/tomcat/webapps/docs/building.html
/var/lib/tomcat/webapps/docs/cgi-howto.html
/var/lib/tomcat/webapps/docs/changelog.html
/var/lib/tomcat/webapps/docs/class-loader-howto.html
/var/lib/tomcat/webapps/docs/cluster-howto.html
/var/lib/tomcat/webapps/docs/comments.html
/var/lib/tomcat/webapps/docs/config
/var/lib/tomcat/webapps/docs/config/ajp.html
/var/lib/tomcat/webapps/docs/config/automatic-deployment.html
/var/lib/tomcat/webapps/docs/config/cluster-channel.html
/var/lib/tomcat/webapps/docs/config/cluster-deployer.html
/var/lib/tomcat/webapps/docs/config/cluster-interceptor.html
/var/lib/tomcat/webapps/docs/config/cluster-listener.html
/var/lib/tomcat/webapps/docs/config/cluster-manager.html
/var/lib/tomcat/webapps/docs/config/cluster-membership.html
/var/lib/tomcat/webapps/docs/config/cluster-receiver.html
/var/lib/tomcat/webapps/docs/config/cluster-sender.html
/var/lib/tomcat/webapps/docs/config/cluster-valve.html
/var/lib/tomcat/webapps/docs/config/cluster.html
/var/lib/tomcat/webapps/docs/config/context.html
/var/lib/tomcat/webapps/docs/config/engine.html
/var/lib/tomcat/webapps/docs/config/executor.html
/var/lib/tomcat/webapps/docs/config/filter.html
/var/lib/tomcat/webapps/docs/config/globalresources.html
/var/lib/tomcat/webapps/docs/config/host.html
/var/lib/tomcat/webapps/docs/config/http.html
/var/lib/tomcat/webapps/docs/config/index.html
/var/lib/tomcat/webapps/docs/config/jar-scanner.html
/var/lib/tomcat/webapps/docs/config/listeners.html
/var/lib/tomcat/webapps/docs/config/loader.html
/var/lib/tomcat/webapps/docs/config/manager.html
/var/lib/tomcat/webapps/docs/config/realm.html
/var/lib/tomcat/webapps/docs/config/resources.html
/var/lib/tomcat/webapps/docs/config/server.html
/var/lib/tomcat/webapps/docs/config/service.html
/var/lib/tomcat/webapps/docs/config/systemprops.html
/var/lib/tomcat/webapps/docs/config/valve.html
/var/lib/tomcat/webapps/docs/connectors.html
/var/lib/tomcat/webapps/docs/default-servlet.html
/var/lib/tomcat/webapps/docs/deployer-howto.html
/var/lib/tomcat/webapps/docs/developers.html
/var/lib/tomcat/webapps/docs/elapi
/var/lib/tomcat/webapps/docs/elapi/index.html
/var/lib/tomcat/webapps/docs/extras.html
/var/lib/tomcat/webapps/docs/funcspecs
/var/lib/tomcat/webapps/docs/funcspecs/fs-admin-apps.html
/var/lib/tomcat/webapps/docs/funcspecs/fs-admin-objects.html
/var/lib/tomcat/webapps/docs/funcspecs/fs-admin-opers.html
/var/lib/tomcat/webapps/docs/funcspecs/fs-default.html
/var/lib/tomcat/webapps/docs/funcspecs/fs-jdbc-realm.html
/var/lib/tomcat/webapps/docs/funcspecs/fs-jndi-realm.html
/var/lib/tomcat/webapps/docs/funcspecs/fs-memory-realm.html
/var/lib/tomcat/webapps/docs/funcspecs/index.html
/var/lib/tomcat/webapps/docs/funcspecs/mbean-names.html
/var/lib/tomcat/webapps/docs/html-manager-howto.html
/var/lib/tomcat/webapps/docs/images
/var/lib/tomcat/webapps/docs/images/add.gif
/var/lib/tomcat/webapps/docs/images/asf-logo.gif
/var/lib/tomcat/webapps/docs/images/code.gif
/var/lib/tomcat/webapps/docs/images/cors-flowchart.png
/var/lib/tomcat/webapps/docs/images/design.gif
/var/lib/tomcat/webapps/docs/images/docs.gif
/var/lib/tomcat/webapps/docs/images/fix.gif
/var/lib/tomcat/webapps/docs/images/printer.gif
/var/lib/tomcat/webapps/docs/images/tomcat.gif
/var/lib/tomcat/webapps/docs/images/tomcat.svg
/var/lib/tomcat/webapps/docs/images/update.gif
/var/lib/tomcat/webapps/docs/images/void.gif
/var/lib/tomcat/webapps/docs/index.html
/var/lib/tomcat/webapps/docs/introduction.html
/var/lib/tomcat/webapps/docs/jasper-howto.html
/var/lib/tomcat/webapps/docs/jdbc-pool.html
/var/lib/tomcat/webapps/docs/jndi-datasource-examples-howto.html
/var/lib/tomcat/webapps/docs/jndi-resources-howto.html
/var/lib/tomcat/webapps/docs/jspapi
/var/lib/tomcat/webapps/docs/jspapi/index.html
/var/lib/tomcat/webapps/docs/logging.html
/var/lib/tomcat/webapps/docs/manager-howto.html
/var/lib/tomcat/webapps/docs/maven-jars.html
/var/lib/tomcat/webapps/docs/mbeans-descriptor-howto.html
/var/lib/tomcat/webapps/docs/monitoring.html
/var/lib/tomcat/webapps/docs/proxy-howto.html
/var/lib/tomcat/webapps/docs/realm-howto.html
/var/lib/tomcat/webapps/docs/security-howto.html
/var/lib/tomcat/webapps/docs/security-manager-howto.html
/var/lib/tomcat/webapps/docs/servletapi
/var/lib/tomcat/webapps/docs/servletapi/index.html
/var/lib/tomcat/webapps/docs/setup.html
/var/lib/tomcat/webapps/docs/ssi-howto.html
/var/lib/tomcat/webapps/docs/ssl-howto.html
/var/lib/tomcat/webapps/docs/tribes
/var/lib/tomcat/webapps/docs/tribes/developers.html
/var/lib/tomcat/webapps/docs/tribes/faq.html
/var/lib/tomcat/webapps/docs/tribes/interceptors.html
/var/lib/tomcat/webapps/docs/tribes/introduction.html
/var/lib/tomcat/webapps/docs/tribes/membership.html
/var/lib/tomcat/webapps/docs/tribes/setup.html
/var/lib/tomcat/webapps/docs/tribes/status.html
/var/lib/tomcat/webapps/docs/tribes/transport.html
/var/lib/tomcat/webapps/docs/virtual-hosting-howto.html
/var/lib/tomcat/webapps/docs/web-socket-howto.html
/var/lib/tomcat/webapps/docs/websocketapi
/var/lib/tomcat/webapps/docs/websocketapi/index.html
/var/lib/tomcat/webapps/docs/windows-auth-howto.html
/var/lib/tomcat/webapps/docs/windows-service-howto.html

tomcat-native

Zur Installation des Apache Tomcat soll nachfolgendes Paket:

  • tomcat-native - ist im epel-Repository des Drittanbieters EPEL enthalten

zusätzlich installiert werden.

Mit nachfolgendem Befehl, wird das Pakete tomcat-native installiert:

# yum install tomcat-native
Loaded plugins: changelog, priorities
64 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package tomcat-native.x86_64 0:1.1.30-1.el7 will be installed
--> Finished Dependency Resolution

Changes in packages about to be updated:


Dependencies Resolved

================================================================================
 Package               Arch           Version                Repository    Size
================================================================================
Installing:
 tomcat-native         x86_64         1.1.30-1.el7           epel          61 k

Transaction Summary
================================================================================
Install  1 Package

Total download size: 61 k
Installed size: 165 k
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : tomcat-native-1.1.30-1.el7.x86_64                            1/1 
  Verifying  : tomcat-native-1.1.30-1.el7.x86_64                            1/1 

Installed:
  tomcat-native.x86_64 0:1.1.30-1.el7                                           

Complete!

Mit nachfolgendem Befehl kann überprüft werden, welche Inhalte mit den Paket tomcat-native installiert wurden.

# rpm -qil tomcat-native
Name        : tomcat-native
Version     : 1.1.30
Release     : 1.el7
Architecture: x86_64
Install Date: Tue 05 May 2015 03:06:38 PM CEST
Group       : System Environment/Libraries
Size        : 169417
License     : ASL 2.0
Signature   : RSA/SHA256, Wed 16 Apr 2014 01:36:14 AM CEST, Key ID 6a2faea2352c64e5
Source RPM  : tomcat-native-1.1.30-1.el7.src.rpm
Build Date  : Tue 15 Apr 2014 01:16:34 PM CEST
Build Host  : buildvm-01.phx2.fedoraproject.org
Relocations : (not relocatable)
Packager    : Fedora Project
Vendor      : Fedora Project
URL         : http://tomcat.apache.org/tomcat-7.0-doc/apr.html
Summary     : Tomcat native library
Description :
Tomcat can use the Apache Portable Runtime to provide superior
scalability, performance, and better integration with native server
technologies.  The Apache Portable Runtime is a highly portable library
that is at the heart of Apache HTTP Server 2.x.  APR has many uses,
including access to advanced IO functionality (such as sendfile, epoll
and OpenSSL), OS level functionality (random number generation, system
status, etc), and native process handling (shared memory, NT pipes and
Unix sockets).  This package contains the Tomcat native library which
provides support for using APR in Tomcat.
/usr/lib64/libtcnative-1.so
/usr/lib64/libtcnative-1.so.0
/usr/lib64/libtcnative-1.so.0.1.30
/usr/share/doc/tomcat-native-1.1.30
/usr/share/doc/tomcat-native-1.1.30/CHANGELOG.txt
/usr/share/doc/tomcat-native-1.1.30/LICENSE
/usr/share/doc/tomcat-native-1.1.30/NOTICE
/usr/share/doc/tomcat-native-1.1.30/TODO.txt

Dienst/Deamon-Start einrichten

Um den Apache Tomcat, welcher als Dienst/Deamon als Hintergrundprozess läuft, auch nach einem Neustart des Servers zur Verfügung zu haben, soll der Dienst/Daemon mit dem Server mit gestartet werden, was mit nachfolgendem Befehl realisiert werden kann:

# systemctl enable tomcat.service
ln -s '/usr/lib/systemd/system/tomcat.service' '/etc/systemd/system/multi-user.target.wants/tomcat.service'

Eine Überprüfung, ob beim Neustart des Server der tomcat-Dienst/Deamon wirklich mit gestartet wird, kann mit nachfolgendem Befehl erfolgen und sollte eine Anzeige, wie ebenfalls nachfolgend dargestellt ausgeben:

# systemctl enable tomcat.service
ln -s '/usr/lib/systemd/system/tomcat.service' '/etc/systemd/system/multi-user.target.wants/tomcat.service'

bzw.

# systemctl is-enabled tomcat.service
enabled

Java Version

Nachfolgend kann mit folgendem Befehl überprüft werden, welche Java-Version die aktuell bevorzugte im CentOS-Betriebssystem ist.

Da mehrere Versionen von Java installiert sein könnten, sollte dies auf jeden Fall überprüft werden:

# alternatives --display java
java - status is auto.
 link currently points to /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64/jre/bin/java
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64/jre/bin/java - priority 37
 slave jre: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64/jre
 slave jre_exports: /usr/lib/jvm-exports/jre-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64
 slave jjs: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64/jre/bin/jjs
 slave keytool: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64/jre/bin/keytool
 slave orbd: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64/jre/bin/orbd
 slave pack200: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64/jre/bin/pack200
 slave rmid: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64/jre/bin/rmid
 slave rmiregistry: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64/jre/bin/rmiregistry
 slave servertool: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64/jre/bin/servertool
 slave tnameserv: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64/jre/bin/tnameserv
 slave unpack200: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64/jre/bin/unpack200
 slave java.1.gz: /usr/share/man/man1/java-java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64.1.gz
 slave jjs.1.gz: /usr/share/man/man1/jjs-java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64.1.gz
 slave policytool: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64/jre/bin/policytool
 slave keytool.1.gz: /usr/share/man/man1/keytool-java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64.1.gz
 slave orbd.1.gz: /usr/share/man/man1/orbd-java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64.1.gz
 slave pack200.1.gz: /usr/share/man/man1/pack200-java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64.1.gz
 slave rmid.1.gz: /usr/share/man/man1/rmid-java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64.1.gz
 slave rmiregistry.1.gz: /usr/share/man/man1/rmiregistry-java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64.1.gz
 slave servertool.1.gz: /usr/share/man/man1/servertool-java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64.1.gz
 slave tnameserv.1.gz: /usr/share/man/man1/tnameserv-java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64.1.gz
 slave unpack200.1.gz: /usr/share/man/man1/unpack200-java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64.1.gz
Current `best' version is /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64/jre/bin/java.

:!: HINWEIS - Die letzte Zeile in vorhergehender Ausgabe ist die entscheidende:

...
Current `best' version is /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64/jre/bin/java.
...

Falls dies nicht wie oben dargestellt sein sollte, oder eine andere ebenfalls installierte Version von Java zum Einsatz kommen soll, kann mit nachfolgendem Befehl die Java-Version ausgewählt werden:

# alternatives --config java

There is 1 program that provides 'java'.

  Selection    Command
-----------------------------------------------
*+ 1           /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64/jre/bin/java

Enter to keep the current selection[+], or type selection number:

:!: HINWEIS - Vorstende Auswahl ist irrelevant, da in diesemn Beispiel nur eine Java-Version installiert ist!

Konfiguration

/etc/tomcat/tomcat.conf

Eine spezielle Konfigurationsdatei unter CentOS in der Version 7.x ist

  • /etc/tomcat/tomcat.conf

Nachfolgend sollen einige Änderungen bzw. Ergänzungen an dieser Konfigurationsdatei durchgeführt werden, welchen ein Kommentar, wie nachfolgend dargestellt, voransteht:

# Tachtler

Hier die komplette Konfigurationsdatei mit allen Änderungen bzw. Ergänzungen, welche ebenfalls nachfolgend erklärt werden:

# System-wide configuration file for tomcat services
# This will be loaded by systemd as an environment file,
# so please keep the syntax.
#
# There are 2 "classes" of startup behavior in this package.
# The old one, the default service named tomcat.service.
# The new named instances are called tomcat@instance.service.
#
# Use this file to change default values for all services.
# Change the service specific ones to affect only one service.
# For tomcat.service it's /etc/sysconfig/tomcat, for
# tomcat@instance it's /etc/sysconfig/tomcat@instance.
 
# This variable is used to figure out if config is loaded or not.
TOMCAT_CFG_LOADED="1"
 
# In new-style instances, if CATALINA_BASE isn't specified, it will
# be constructed by joining TOMCATS_BASE and NAME.
TOMCATS_BASE="/var/lib/tomcats/"
 
# Where your java installation lives
JAVA_HOME="/usr/lib/jvm/jre"
 
# Where your tomcat installation lives
CATALINA_HOME="/usr/share/tomcat"
 
# System-wide tmp
CATALINA_TMPDIR="/var/cache/tomcat/temp"
 
# You can pass some parameters to java here if you wish to
#JAVA_OPTS="-Xminf0.1 -Xmaxf0.3"
 
# Use JAVA_OPTS to set java.library.path for libtcnative.so
# Tachtler
# default: #JAVA_OPTS="-Djava.library.path=/usr/lib"
JAVA_OPTS="-Djava.library.path=/usr/lib64 -server -Xms128m -Xmx512m"
 
# You can change your tomcat locale here
#LANG="en_US"
 
# Run tomcat under the Java Security Manager
SECURITY_MANAGER="false"
 
# Time to wait in seconds, before killing process
# TODO(stingray): does nothing, fix.
# Tachtler
# default: # SHUTDOWN_WAIT="30"
SHUTDOWN_WAIT="300"
 
# If you wish to further customize your tomcat environment,
# put your own definitions here
# (i.e. LD_LIBRARY_PATH for some jdbc drivers)

Nachfolgend die Erklärungen zu den gemachten Änderungen bzw. Ergänzungen:

JAVA_OPTS

Ergänzungen zu den Java-Optionen:

# Use JAVA_OPTS to set java.library.path for libtcnative.so
# Tachtler
# default: #JAVA_OPTS="-Djava.library.path=/usr/lib"
JAVA_OPTS="-Djava.library.path=/usr/lib64 -server -Xms128m -Xmx512m"

*1 -Djava.library.path=/usr/lib64 = Setzen des Pfades zur Native Laufzeit Bibliothek The Apache Tomcat Native - libtcnative-1.so
*2 -server = Betrieb im Server-Modus
*3 -Xms128m = minimaler RAM-Speicher welche beim Start des Apache Tomcat Application Servers reserviert werden soll
*4 -Xmx512m = maximaler RAM-Speicher welche durch den Apache Tomcat Application Servers belegt werden kann

:!: HINWEIS - Die Angabe einer Option zu MaxPermSize ist nicht mehr erforderlich. Siehe auch nachfolgenden Hinweis, falls doch eine Angabe wie

  • -XX:MaxPermSize=256m

als JAVA_OPTS unter JAVA ab Version 1.8.0 angegeben wird:

OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0

SHUTDOWN_WAIT

Anpassung der Wartezeit bis zum herunterfahren:

# Time to wait in seconds, before killing process
# TODO(stingray): does nothing, fix.
# Tachtler
# default: # SHUTDOWN_WAIT="30"
SHUTDOWN_WAIT="300"

*1 SHUTDOWN_WAIT=„300“ = Wartezeit in Sekunden bis zum herunterfahren

/etc/tomcat/server.xml

Die Konfigurationsdatei

  • /etc/tomcat/server.xml

ist unter CentOS in der Version 7.x die Haupt-Konfigurationsdatei des Apache Tomcat-Applikation-Servers.

Nachfolgend sollen einige Änderungen bzw. Ergänzungen an dieser Konfigurationsdatei durchgeführt werden, welchen ein Kommentar, wie nachfolgend dargestellt, voransteht:

<!-- Tachtler -->

Hier die komplette Konfigurationsdatei mit allen Änderungen bzw. Ergänzungen, welche ebenfalls nachfolgend erklärt werden:

<?xml version='1.0' encoding='utf-8'?>
<!--
  Licensed to the Apache Software Foundation (ASF) under one or more
  contributor license agreements.  See the NOTICE file distributed with
  this work for additional information regarding copyright ownership.
  The ASF licenses this file to You under the Apache License, Version 2.0
  (the "License"); you may not use this file except in compliance with
  the License.  You may obtain a copy of the License at
 
      http://www.apache.org/licenses/LICENSE-2.0
 
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
-->
<!-- Note:  A "Server" is not itself a "Container", so you may not
     define subcomponents such as "Valves" at this level.
     Documentation at /docs/config/server.html
 -->
<!-- Tachtler -->
<!-- default: <Server port="8005" shutdown="SHUTDOWN"> -->
<Server port="8089" shutdown="DOWNBABY">
  <!-- Security listener. Documentation at /docs/config/listeners.html
  <Listener className="org.apache.catalina.security.SecurityListener" />
  -->
  <!--APR library loader. Documentation at /docs/apr.html -->
  <Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />
  <!--Initialize Jasper prior to webapps are loaded. Documentation at /docs/jasper-howto.html -->
  <Listener className="org.apache.catalina.core.JasperListener" />
  <!-- Prevent memory leaks due to use of particular java/javax APIs-->
  <Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener" />
  <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
  <Listener className="org.apache.catalina.core.ThreadLocalLeakPreventionListener" />
 
  <!-- Global JNDI resources
       Documentation at /docs/jndi-resources-howto.html
  -->
  <GlobalNamingResources>
    <!-- Editable user database that can also be used by
         UserDatabaseRealm to authenticate users
    -->
    <Resource name="UserDatabase" auth="Container"
              type="org.apache.catalina.UserDatabase"
              description="User database that can be updated and saved"
              factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
              pathname="conf/tomcat-users.xml" />
  </GlobalNamingResources>
 
  <!-- A "Service" is a collection of one or more "Connectors" that share
       a single "Container" Note:  A "Service" is not itself a "Container",
       so you may not define subcomponents such as "Valves" at this level.
       Documentation at /docs/config/service.html
   -->
  <Service name="Catalina">
 
    <!--The connectors can use a shared executor, you can define one or more named thread pools-->
    <!--
    <Executor name="tomcatThreadPool" namePrefix="catalina-exec-"
        maxThreads="150" minSpareThreads="4"/>
    -->
 
 
    <!-- A "Connector" represents an endpoint by which requests are received
         and responses are returned. Documentation at :
         Java HTTP Connector: /docs/config/http.html (blocking & non-blocking)
         Java AJP  Connector: /docs/config/ajp.html
         APR (HTTP/AJP) Connector: /docs/apr.html
         Define a non-SSL HTTP/1.1 Connector on port 8080
    -->
    <!-- Tachtler -->
    <!-- default: <Connector port="8080" protocol="HTTP/1.1" -->
    <!-- default:            connectionTimeout="20000" -->
    <!-- default:            redirectPort="8443" /> -->
    <Connector port="8088" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="8443"
               address="127.0.0.1" />
    <!-- A "Connector" using the shared thread pool-->
    <!--
    <Connector executor="tomcatThreadPool"
               port="8080" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="8443" />
    -->
    <!-- Define a SSL HTTP/1.1 Connector on port 8443
         This connector uses the BIO implementation that requires the JSSE
         style configuration. When using the APR/native implementation, the
         OpenSSL style configuration is required as described in the APR/native
         documentation -->
    <!--
    <Connector port="8443" protocol="org.apache.coyote.http11.Http11Protocol"
               maxThreads="150" SSLEnabled="true" scheme="https" secure="true"
               clientAuth="false" sslProtocol="TLS" />
    -->
 
    <!-- Define an AJP 1.3 Connector on port 8009 -->
    <!-- <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" /> -->
    <Connector port="8099" protocol="AJP/1.3" redirectPort="8443" address="127.0.0.1" />
 
 
    <!-- An Engine represents the entry point (within Catalina) that processes
         every request.  The Engine implementation for Tomcat stand alone
         analyzes the HTTP headers included with the request, and passes them
         on to the appropriate Host (virtual host).
         Documentation at /docs/config/engine.html -->
 
    <!-- You should set jvmRoute to support load-balancing via AJP ie :
    <Engine name="Catalina" defaultHost="localhost" jvmRoute="jvm1">
    -->
    <Engine name="Catalina" defaultHost="localhost">
 
      <!--For clustering, please take a look at documentation at:
          /docs/cluster-howto.html  (simple how to)
          /docs/config/cluster.html (reference documentation) -->
      <!--
      <Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/>
      -->
 
      <!-- Use the LockOutRealm to prevent attempts to guess user passwords
           via a brute-force attack -->
      <Realm className="org.apache.catalina.realm.LockOutRealm">
        <!-- This Realm uses the UserDatabase configured in the global JNDI
             resources under the key "UserDatabase".  Any edits
             that are performed against this UserDatabase are immediately
             available for use by the Realm.  -->
        <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
               resourceName="UserDatabase"/>
      </Realm>
 
      <Host name="localhost"  appBase="webapps"
            unpackWARs="true" autoDeploy="true">
 
        <!-- SingleSignOn valve, share authentication between web applications
             Documentation at: /docs/config/valve.html -->
        <!--
        <Valve className="org.apache.catalina.authenticator.SingleSignOn" />
        -->
 
        <!-- Access log processes all example.
             Documentation at: /docs/config/valve.html
             Note: The pattern used is equivalent to using pattern="common" -->
        <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
               prefix="localhost_access_log." suffix=".txt"
               pattern="%h %l %u %t &quot;%r&quot; %s %b" />
 
      </Host>
    </Engine>
  </Service>
</Server>

Nachfolgend die Erklärungen zu den gemachten Änderungen bzw. Ergänzungen:

Bereich: Server

Aus Sicherheitsgründen sollte der Port und auch die Zeichenkette, mit dem der Apache Tomcat-Applikations-Servers heruntergefahren werden kann, verändert werden:

<?xml version='1.0' encoding='utf-8'?>
<!--
  Licensed to the Apache Software Foundation (ASF) under one or more
  contributor license agreements.  See the NOTICE file distributed with
  this work for additional information regarding copyright ownership.
  The ASF licenses this file to You under the Apache License, Version 2.0
  (the "License"); you may not use this file except in compliance with
  the License.  You may obtain a copy of the License at
 
      http://www.apache.org/licenses/LICENSE-2.0
 
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
-->
<!-- Note:  A "Server" is not itself a "Container", so you may not
     define subcomponents such as "Valves" at this level.
     Documentation at /docs/config/server.html
 -->
<!-- Tachtler -->
<!-- default: <Server port="8005" shutdown="SHUTDOWN"> -->
<Server port="8089" shutdown="DOWNBABY">

*1 Hier wird als Beispiel der Standard-Port von 8005 auf den Port 8089 abgeändert
*2 Die Zeichenkette wird von SHUTDOWN auf DOWNBABY abgeändert

Bereich: Server | Service | Connector (HTTP)

Die Konfiguration des „Connector“ bezeichnet die Art und Weise, wie eine HTTP-Verbindung zum Apache Tomcat-Applikation-Servers hergestellt werden kann:

    <!-- A "Connector" represents an endpoint by which requests are received
         and responses are returned. Documentation at :
         Java HTTP Connector: /docs/config/http.html (blocking & non-blocking)
         Java AJP  Connector: /docs/config/ajp.html
         APR (HTTP/AJP) Connector: /docs/apr.html
         Define a non-SSL HTTP/1.1 Connector on port 8080
    -->
    <!-- Tachtler -->
    <!-- default: <Connector port="8080" protocol="HTTP/1.1" -->
    <!-- default:            connectionTimeout="20000" -->
    <!-- default:            redirectPort="8443" /> -->
    <Connector port="8088" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="8443"
               address="127.0.0.1" />

*1 Hier wird als Beispiel der Standard-Port von 8080 auf den Port 8088 abgeändert
*2 Verbindungen werden nur von der IP-Adresse 127.0.0.1 (localhost) akzeptiert

:!: WICHTIG - Die Angabe address=„127.0.0.1“ macht den Apache Tomcat-Applikation-Servers nur von der IP-Adresse 127.0.0.1 (localhost) erreichbar und somit nicht mehr über ein Netzwerk (Internet/Intranet usw.) aufrufbar!

:!: HINWEIS - Aus Sicherheitsgründen kann die Angabe address=„127.0.0.1“ sinnvoll sein, wenn der Apache Tomcat-Applikation-Servers nur über einen Apache HTTPD Server auf dem selben Server über die Module mod_proxy_ajp oder mod_jk mit dem Protokoll AJP/1.3 angebunden ist!

Bereich: Server | Service | Connector (AJP/1.3)

Die Konfiguration des „Connector“ bezeichnet die Art und Weise, wie eine AJP/1.3-Verbindung zum Apache Tomcat-Applikation-Servers hergestellt werden kann:

    <!-- Define an AJP 1.3 Connector on port 8009 -->
    <!-- <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" /> -->
    <Connector port="8099" protocol="AJP/1.3" redirectPort="8443" address="127.0.0.1" />

*1 Hier wird als Beispiel der Connector-Port von 8009 auf den Port 8099 abgeändert
*2 Verbindungen werden nur von der IP-Adresse 127.0.0.1 akzeptiert

:!: WICHTIG - Die Angabe address=„127.0.0.1“ macht den Apache Tomcat-Applikation-Servers nur von der IP-Adresse 127.0.0.1 (localhost) erreichbar und somit nicht mehr über ein Netzwerk (Internet/Intranet usw.) aufrufbar!

:!: HINWEIS - Aus Sicherheitsgründen kann die Angabe address=„127.0.0.1“ sinnvoll sein, wenn der Apache Tomcat-Applikation-Servers nur über einen Apache HTTPD Server auf dem selben Server über die Module mod_proxy_ajp oder mod_jk mit dem Protokoll AJP/1.3 angebunden ist!

/etc/tomcat/web.xml

Die Konfigurationsdatei

  • /etc/tomcat/web.xml

stellt eine Standard-Konfigurationsdatei für alle WEB-Anwendungen dar, welche keine eigene web-xml-Datei vorhalten.

Nachfolgend sollen einige Änderungen bzw. Ergänzungen an dieser Konfigurationsdatei durchgeführt werden, welchen ein Kommentar, wie nachfolgend dargestellt, voransteht:

<!-- Tachtler -->

Nachfolgend kann hier z.B. die Standard-Laufzeit einer Session, hier von 30 Minuten auf z.B. 12 Minuten geändert werden:

(Nur relevanter Ausschnitt):

...
  <!-- ==================== Default Session Configuration ================= -->
  <!-- You can set the default session timeout (in minutes) for all newly   -->
  <!-- created sessions by modifying the value below.                       -->
 
  <!-- Tachtler -->
  <!-- default:   <session-config> -->
  <!-- default:       <session-timeout>30</session-timeout> -->
  <!-- default:   </session-config> -->
    <session-config>
        <session-timeout>12</session-timeout>
    </session-config>
...

*1 Hier wird die Session Laufzeit von 30 Minuten auf 12 Minuten abgeändert

/etc/tomcat/tomcat-users.xml

Die Konfigurationsdatei

  • /etc/tomcat/tomcat-users.xml

stellt eine Standard-Konfigurationsdatei zur Authentifizierung der nachfolgenden, oder auch anderer Web-Anwendungen, des Apache Tomcat-Applikations-Servers dar.

  • tomcat-admin-webapps - Apache Tomcat-Administrative Web-Anwendungen (host-manager, manager)

Nachfolgend sollen einige Änderungen bzw. Ergänzungen an dieser Konfigurationsdatei durchgeführt werden, welchen ein Kommentar, wie nachfolgend dargestellt, voransteht:

<!-- Tachtler -->

Hier die komplette Konfigurationsdatei mit allen Änderungen bzw. Ergänzungen, welche ebenfalls nachfolgend erklärt werden:

<?xml version='1.0' encoding='utf-8'?>
<!--
  Licensed to the Apache Software Foundation (ASF) under one or more
  contributor license agreements.  See the NOTICE file distributed with
  this work for additional information regarding copyright ownership.
  The ASF licenses this file to You under the Apache License, Version 2.0
  (the "License"); you may not use this file except in compliance with
  the License.  You may obtain a copy of the License at
 
      http://www.apache.org/licenses/LICENSE-2.0
 
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
-->
<tomcat-users>
<!--
  NOTE:  By default, no user is included in the "manager-gui" role required
  to operate the "/manager/html" web application.  If you wish to use this app,
  you must define such a user - the username and password are arbitrary.
-->
<!--
  NOTE:  The sample user and role entries below are wrapped in a comment
  and thus are ignored when reading this file. Do not forget to remove
  <!.. ..> that surrounds them.
-->
<!--
  <role rolename="tomcat"/>
  <role rolename="role1"/>
  <user username="tomcat" password="tomcat" roles="tomcat"/>
  <user username="both" password="tomcat" roles="tomcat,role1"/>
  <user username="role1" password="tomcat" roles="role1"/>
-->
 
<!-- Tachtler - enabled -->
<role rolename="admin"/>
<role rolename="admin-gui"/>
<role rolename="admin-script"/>
<role rolename="manager"/>
<role rolename="manager-gui"/>
<role rolename="manager-script"/>
<role rolename="manager-jmx"/>
<role rolename="manager-status"/>
<user name="admin" password="geheim" roles="admin,manager,admin-gui,admin-script,manager-gui,manager-script,manager-jmx,manager-status" />
</tomcat-users>

/etc/tomcat/logging.properties

Die Konfigurationsdatei

  • /etc/tomcat/logging.properties

stellt eine Standard-Konfigurationsdatei für die LOG-Schreibung alle Apache Tomcat-Web-Anwendungen (catalina, localhost, manager, host-manager) dar, falls kein anderer LOG-Mechanismus vorhanden ist.

Nachfolgend sollen einige Ergänzungen an dieser Konfigurationsdatei durchgeführt werden, welchen ein Kommentar, wie nachfolgend dargestellt, voransteht:

# Tachtler - new -

Nachfolgend kann hier z.B. die Standard-Aufbewahrungs-Anzahl aller Apache Tomcat-Web-Anwendungen LOG-Dateien, hier von unbegrenzt vielen LOG-Dateien (Defaultwert: -1) auf z.B. max. 14 LOG-Dateien eingestellt werden:

(Nur relevanter Ausschnitt):

...
############################################################
# Handler specific properties.
# Describes specific configuration info for Handlers.
############################################################
 
1catalina.org.apache.juli.FileHandler.level = FINE
1catalina.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
1catalina.org.apache.juli.FileHandler.prefix = catalina.
# Tachtler - new -
1catalina.org.apache.juli.FileHandler.maxDays = 14
 
2localhost.org.apache.juli.FileHandler.level = FINE
2localhost.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
2localhost.org.apache.juli.FileHandler.prefix = localhost.
# Tachtler - new -
2localhost.org.apache.juli.FileHandler.maxDays = 14
 
3manager.org.apache.juli.FileHandler.level = FINE
3manager.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
3manager.org.apache.juli.FileHandler.prefix = manager.
# Tachtler - new -
3manager.org.apache.juli.FileHandler.maxDays = 14
 
4host-manager.org.apache.juli.FileHandler.level = FINE
4host-manager.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
4host-manager.org.apache.juli.FileHandler.prefix = host-manager.
# Tachtler - new -
4host-manager.org.apache.juli.FileHandler.maxDays = 14
 
java.util.logging.ConsoleHandler.level = FINE
java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
...

*1 Hier wird die Anzahl der LOG-Dateien von unbegrenzt viele LOG-Dateien auf 14 LOG-Dateien abgeändert

Erster Start

Nachdem alle vorhergehenden Konfigurationsschritte erfolgreich durchgeführt worden sind, kann der Apache Tomcat-Applikation-Server mit nachfolgendem Befehle gestartet werden:

# systemctl start tomcat.service

Nachfolgender Befehl kann zur Überprüfung, ob der Apache Tomcat-Applikation-Server gestartet wurde, genutzt werden:

# systemctl status tomcat.service
tomcat.service - Apache Tomcat Web Application Container
   Loaded: loaded (/usr/lib/systemd/system/tomcat.service; enabled)
   Active: active (running) since Wed 2015-05-06 15:38:31 CEST; 37s ago
  Process: 14708 ExecStop=/usr/libexec/tomcat/server stop (code=exited, status=0/SUCCESS)
 Main PID: 14761 (java)
   CGroup: /system.slice/tomcat.service
           └─14761 /usr/lib/jvm/jre/bin/java -Djava.library.path=/usr/lib64 -...

May 06 15:38:32 tomcat7.tachtler.net server[14761]: May 06, 2015 3:38:3...
May 06 15:38:32 tomcat7.tachtler.net server[14761]: INFO: Initializing ...
May 06 15:38:32 tomcat7.tachtler.net server[14761]: May 06, 2015 3:38:3...
May 06 15:38:32 tomcat7.tachtler.net server[14761]: INFO: Initializatio...
May 06 15:38:32 tomcat7.tachtler.net server[14761]: May 06, 2015 3:38:3...
May 06 15:38:32 tomcat7.tachtler.net server[14761]: INFO: Starting serv...
May 06 15:38:32 tomcat7.tachtler.net server[14761]: May 06, 2015 3:38:3...
May 06 15:38:32 tomcat7.tachtler.net server[14761]: INFO: Starting Serv...
May 06 15:38:32 tomcat7.tachtler.net server[14761]: May 06, 2015 3:38:3...
May 06 15:38:32 tomcat7.tachtler.net server[14761]: INFO: Deploying web...
Hint: Some lines were ellipsized, use -l to show in full.

LOG-Ausgaben

Mit nachfolgendem Befehl, kann die LOG-Ausgabe des Apache Tomcat-Applikation-Servers überprüft werden:

# cat /usr/share/tomcat/logs/catalina.YYYY-MM-DD.log

und sollte eine Ausgabe, in etwa wie die nachfolgende erzeugen:

# cat /usr/share/tomcat/logs/catalina.2015-05-06.log 
May 06, 2015 3:53:12 PM org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.30 using APR version 1.4.8.
May 06, 2015 3:53:12 PM org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
May 06, 2015 3:53:12 PM org.apache.catalina.core.AprLifecycleListener initializeSSL
INFO: OpenSSL successfully initialized (OpenSSL 1.0.1e 11 Feb 2013)
May 06, 2015 3:53:12 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-apr-8088"]
May 06, 2015 3:53:12 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-apr-127.0.0.1-8099"]
May 06, 2015 3:53:12 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 782 ms
May 06, 2015 3:53:12 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
May 06, 2015 3:53:12 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.54
May 06, 2015 3:53:12 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /var/lib/tomcat/webapps/host-manager
May 06, 2015 3:54:34 PM org.apache.catalina.util.SessionIdGenerator createSecureRandom
INFO: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [80,939] milliseconds.
May 06, 2015 3:54:34 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory /var/lib/tomcat/webapps/host-manager has finished in 82,036 ms
May 06, 2015 3:54:34 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /var/lib/tomcat/webapps/manager
May 06, 2015 3:54:35 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory /var/lib/tomcat/webapps/manager has finished in 434 ms
May 06, 2015 3:54:35 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /var/lib/tomcat/webapps/ROOT
May 06, 2015 3:54:35 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory /var/lib/tomcat/webapps/ROOT has finished in 348 ms
May 06, 2015 3:54:35 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /var/lib/tomcat/webapps/examples
May 06, 2015 3:54:36 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/core_rt is already defined
May 06, 2015 3:54:36 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/core is already defined
May 06, 2015 3:54:36 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/core is already defined
May 06, 2015 3:54:36 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/fmt_rt is already defined
May 06, 2015 3:54:36 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/fmt is already defined
May 06, 2015 3:54:36 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/fmt is already defined
May 06, 2015 3:54:36 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/functions is already defined
May 06, 2015 3:54:36 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/permittedTaglibs is already defined
May 06, 2015 3:54:36 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/scriptfree is already defined
May 06, 2015 3:54:36 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/sql_rt is already defined
May 06, 2015 3:54:36 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/sql is already defined
May 06, 2015 3:54:36 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/sql is already defined
May 06, 2015 3:54:36 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/xml_rt is already defined
May 06, 2015 3:54:36 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/xml is already defined
May 06, 2015 3:54:36 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/xml is already defined
May 06, 2015 3:54:36 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory /var/lib/tomcat/webapps/examples has finished in 819 ms
May 06, 2015 3:54:36 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /var/lib/tomcat/webapps/sample
May 06, 2015 3:54:36 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory /var/lib/tomcat/webapps/sample has finished in 360 ms
May 06, 2015 3:54:36 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /var/lib/tomcat/webapps/docs
May 06, 2015 3:54:36 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory /var/lib/tomcat/webapps/docs has finished in 325 ms
May 06, 2015 3:54:36 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-apr-8088"]
May 06, 2015 3:54:36 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-apr-127.0.0.1-8099"]
May 06, 2015 3:54:36 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 84420 ms

IP/Port-Listen

Mit nachfolgendem Befehl kann überprüft werden auf welchen IP-Adressen (sollte in diesem Beispiel NUR 127.0.0.1 sein) und auf welchen Ports der Apache Tomcat-Applikation-Server horcht:

# netstat -tulpen | grep java
tcp        0      0 127.0.0.1:8089     0.0.0.0:*        LISTEN      91         77644      14995/java          
tcp        0      0 127.0.0.1:8099     0.0.0.0:*        LISTEN      91         77621      14995/java          
tcp        0      0 127.0.0.1:8088     0.0.0.0:*        LISTEN      91         77620      14995/java

Aufruf

Unter nachfolgender URL kann nun der im Browser die ROOT-Web-Anwendung des Apache Tomcat-Applikation-Server direkt aufgerufen werden:

und sollte in etwa eine Ausgabe, wie nachfolgend dargestellt, im Browser zur Anzeige bringen:

Apache Tomcat Applikation-Server - ROOT-Web-Anwendung

Performance

SessionIdGenerator

Falls der Start des Apache Tomcat-Applikation-Servers längere Zeit in Anspruch nimmt, kann dies daran liegen, dass beim Starten nachfolgende Meldung, mit einer höheren Anzahl an Sekunden (hier: 80.939 Millisekunden) in der LOG-Datei

  • /usr/share/tomcat/logs/catalina.YYYY-MM-DD.log

auftaucht, wie nachfolgendes Beispiel zeigt:

INFO: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [80,939] milliseconds.
May 06, 2015 3:54:34 PM org.apache.catalina.startup.HostConfig deployDirectory

Der Apache Tomcat-Applikation-Servers ab Version 7 legt in hohem Maße auf sicheren Zufallswerten für die Session-IDs Wert. Abhängig von dem verwendeten JRE (Runtime Environment) können beim starten Zeitverzögerungen einstehen, welche auf fehlende Entropien im Zufallsgenerator zurückzuführen sind.

Eine Möglichkeit, diese Zeitverzögerungen zu umgehen ist, das JRE (Runtime Environment) so zu konfigurieren, dass eine nicht-blockierende Entropie-Quelle verwendet wird, indem nachfolgende JAVA_OPTS in der Konfigurationsdatei:

  • /etc/tomcat/tomcat.conf

hinzugefügt wird:

-Djava.security.egd=file:/dev/./urandom

Nachfolgend nun die Konfigurationsdatei mit der entsprechenden Ergänzung zu den Java-Optionen:

(Nur relevanter Ausschnitt)

# Use JAVA_OPTS to set java.library.path for libtcnative.so
# Tachtler
# default: #JAVA_OPTS="-Djava.library.path=/usr/lib"
JAVA_OPTS="-Djava.security.egd=file:/dev/./urandom -Djava.library.path=/usr/lib64 -server -Xms128m -Xmx512m"

*1 -Djava.security.egd=file:/dev/./urandom = Setzen einer alternativen Entropien-Quelle
*2 -Djava.library.path=/usr/lib64 = Setzen des Pfades zur Native Laufzeit Bibliothek The Apache Tomcat Native - libtcnative-1.so
*3 -server = Betrieb im Server-Modus
*4 -Xms128m = minimaler RAM-Speicher welche beim Start des Apache Tomcat Application Servers reserviert werden soll
*5 -Xmx512m = maximaler RAM-Speicher welche durch den Apache Tomcat Application Servers belegt werden kann

:!: HINWEIS - Die Angabe einer Option zu MaxPermSize ist nicht mehr erforderlich. Siehe auch nachfolgenden Hinweis, falls doch eine Angabe wie

  • -XX:MaxPermSize=256m

als JAVA_OPTS unter JAVA ab Version 1.8.0 angegeben wird:

OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0

Nachfolgender Vergleich der beiden Startzeiten des Apache Tomcat-Applikation-Servers zeigt eine deutliche Verbesserung im Startverhalten:

VORHER:

INFO: Server startup in 84420 ms

NACHHER:

INFO: Server startup in 3472 ms

Weitereführende Konfigurationen

Unter nachfolgenden internen Links, werden weiterführende Konfiguration durchgeführt

LDAP-Authentifizierung JNDIRealm

Logging - log4j

Standard Applikation

Diese Website verwendet Cookies. Durch die Nutzung der Website stimmen Sie dem Speichern von Cookies auf Ihrem Computer zu. Außerdem bestätigen Sie, dass Sie unsere Datenschutzbestimmungen gelesen und verstanden haben. Wenn Sie nicht einverstanden sind, verlassen Sie die Website.Weitere Information
tachtler/apache_tomcat_7.txt · Zuletzt geändert: 2018/05/03 09:05 von klaus