Difference between revisions of "Setup:Installation Guide/System Preparation/Windows/Apache Tomcat"
← Setup:Installation Guide/System Preparation/Windows/Apache Tomcat
[unchecked revision] | [unchecked revision] |
(translation EN) (Tag: 2017 source edit) |
(translation EN) (Tag: 2017 source edit) |
Contents
- 1 Download
- 2 Installing Apache Tomcat
- 3Konfiguration von Configuring Apache Tomcat
- 4 Überprüfen der Installation
- 5 Installation der Webapps 6 Nächster Schritt
- Reviewing the installation
- 5 Installing the web apps
- 6 Next step
Apache Tomcat is required for the PDF export, VisualDiff (BlueSpice pro only) and the LaTeX renderer (BlueSpice pro only). The following steps are optional and only required if you want to use one or more of these services in your BlueSpice installation. |
Operation of Apache Tomcat requires OpenJDK. If you have not installed it, follow the link above. |
Download[edit | edit source]
Open the official download page (1) in your browser and go to the version 9 (2) download page.
Download the "32-bit/64-bit Windows Service Installer"
Please note that the download on your Windows server with Internet Explorer only works if you have configured the Internet Explorer Advanced Security Settings in the Server Manager. Please refer to the technical documentation from Microsoft. |
This guide uses version 9.0.16 of Apache Tomcat and is just an example of the latest version that you can download at the time of installation. |
Installing Apache Tomcat[edit | edit source]
Open the downloaded file "apache-tomcat-9.0.16.exe".
Start the installation by clicking "Next >":
Confirm the license agreement by clicking "I Agree":
Click "Next >":
Click "Next >" again:
Wählen Select (1) Sie das Home-Verzeichnis Ihrer OpenJDK-the home directory of your OpenJDK Installation (2) aus und klicken auf "Next >and click "Next>" (3):
Starten Sie jetzt die Installation von TomcatStart the Tomcat Installation:
Am Ende der Installation wählen Sie beide vorselektierten Haken ab (1) und beenden das Setup At the end of the installation, leave both preselected checkboxes (1) and finish the setup (2)
Konfiguration von Configuring Apache Tomcat[edit | edit source]
Wechseln Sie in das Installationsverzeichnis von Tomcat. Standardmäßig finden Sie dies unter Change to the installation directory of Tomcat. By default, you can find it at C:\Program Files\Apache Software Foundation\Tomcat 9.0\conf
.
Öffnen Sie hier die Datei Open the context.xml in einem Texteditor und ersetzen Sie die einmal vorkommende Zeile file in a text editor and replace the one-time line
<Context>
durch with
<Context mapperContextRootRedirectEnabled="true">
Speichern und schließen Sie die Datei.
Öffnen Sie im selben Verzeichnis die Datei server.xml in einem Texteditor und stellen sicher, dass der komplette Block Save and close the file.
In the same directory, open the file server.xml in a text editor and make sure that the complete block
<Connector port="8080" protocol="HTTP/1.1" ... />
wie folgt lautetlooks like this:
<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" URIEncoding="UTF-8" redirectPort="8443" address="127.0.0.1" />
Speichern und schließen Sie die Datei.
Suchen Sie im Startmenü den Eintrag Save and close the file.
Find the entry "Configure Tomcat" und öffnen diesenin the start menu and open it:
Stellen Sie den Set "Startup type" auf to "Automatic" (1) und starten and start Tomcat (2). Anschließend Beenden Sie die Konfigurations-Konsole Then exit the configuration console (3):
Überprüfen der InstallationReviewing the installation[edit | edit source]
Zur Überprüfung, ob Tomcat korrekt läuft öffnen Sie in einem Browser auf dem Server die Adresse To check if Tomcat is working correctly, open the address <nowiki>http://localhost:8080/.
Sie sollten nun die Startseite des Tomcat-Servers angezeigt bekommen</ nowiki> in a browser on the server.
You should now see the homepage of the Tomcat server:
Installation der WebappsInstalling the web apps[edit | edit source]
Nach erfolgreicher Installation von BlueSpice befolgen Sie bitte folgende weitere Schritte zur Installation der Webservices und Aktivierung der jeweiligen BlueSpice-ErweiterungAfter successful installation of BlueSpice, please follow the next steps to install the web services and activate the respective BlueSpice extension:
- PDF-Export
- VisualDiff (nur BlueSpice pro only)
- LatexRenderer (nur BlueSpice nurBlueSpice pro only)
Nächster SchrittNext step[edit | edit source]
Haben Sie alle Schritte erfolgreich abgeschlossen können Sie die zuvor heruntergeladene Datei If you have completed all steps successfully, you can delete the previously downloaded "apache-tomcat-9.0.16.exe" von Ihrer Festplatte löschen und zum nächsten Schritt file from your hard drive and continue to the next step " Elasticsearch" weiter gehen. ,
__TOC__ {{Template:Optional|text=Apache Tomcat is required for the PDF export, VisualDiff (BlueSpice pro only) and the LaTeX renderer (BlueSpice pro only). The following steps are optional and only required if you want to use one or more of these services in your BlueSpice installation.}} {{Template:Hint|text=Operation of Apache Tomcat requires [[Setup: Installation Guide/System Preparation/Windows/OpenJDK| OpenJDK]]. If you have not installed it, follow the link above.}} ==Download== Open the [http://tomcat.apache.org/ official download page] (1) in your browser and go to the version 9 (2) download page. [[File:Setup:Tomcat_Download_01.png|center|400px|Tomcat Download 01]] Download the "32-bit/64-bit Windows Service Installer" [[File:Setup:Tomcat_Download_02.png|center|400px|Tomcat Download 02]] {{Template:Hint|text=Please note that the download on your Windows server with Internet Explorer only works if you have configured the Internet Explorer Advanced Security Settings in the Server Manager. Please refer to the technical documentation from Microsoft.}} {{Template:Hint|text=This guide uses version 9.0.16 of Apache Tomcat and is just an example of the latest version that you can download at the time of installation.}} ==Installing Apache Tomcat== Open the downloaded file "apache-tomcat-9.0.16.exe". Start the installation by clicking "Next >": [[File:Setup:Tomcat_Install_01.png|center|400px|Tomcat Installation 01]] Confirm the license agreement by clicking "I Agree": [[File:Setup:Tomcat_Install_02.png|center|400px|Tomcat Installation 02]] Click "Next >": [[File:Setup:Tomcat_Install_03.png|center|400px|Tomcat Installation 03]] Click "Next >" again: [[File:Setup:Tomcat_Install_04.png|center|400px|Tomcat Installation 04]] WählenSelect (1) Sie das Home-Verzeichnis Ihrer [[Setup:Installationsanleitung/Systemvorbereitung/Windows/OpenJDK|OpenJDK-Installation]] (2) aus und klicken auf "Next >the home directory of your [[Setup: Installation Guide/System Preparation/Windows/ OpenJDK | OpenJDK Installation]] (2) and click "Next>" (3): [[File:Setup:Tomcat_Install_05.png|center|400px|Tomcat Installation 05]] Starten Sie jetzt die Installation von TomcatStart the Tomcat Installation: [[File:Setup:Tomcat_Install_06.png|center|400px|Tomcat Installation 06]] Am Ende der Installation wählen Sie beide vorselektierten Haken ab (1) und beenden das Setup (2) At the end of the installation, leave both preselected checkboxes (1) and finish the setup (2) [[File:Setup:Tomcat_Install_07.png|center|400px|Tomcat Installation 07]] ==Konfiguration von Configuring Apache Tomcat== Wechseln Sie in das Installationsverzeichnis von Tomcat. Standardmäßig finden Sie dies unter Change to the installation directory of Tomcat. By default, you can find it at <code>C:\Program Files\Apache Software Foundation\Tomcat 9.0\conf</code>. Öffnen Sie hier die Datei context.xml in einem Texteditor und ersetzen Sie die einmal vorkommende Zeile Open the context.xml file in a text editor and replace the one-time line <pre><Context></pre> durchwith <pre><Context mapperContextRootRedirectEnabled="true"></pre> [[File:Setup:Tomcat_Configuration_01.png|center|400px|Tomcat KonfigurationConfiguration 01]] Speichern und schließen Sie die Datei. Öffnen Sie im selben Verzeichnis die Datei server.xml in einem Texteditor und stellen sicher, dass der komplette Block Save and close the file. In the same directory, open the file server.xml in a text editor and make sure that the complete block <pre><Connector port="8080" protocol="HTTP/1.1" ... /></pre> wie folgt lautetlooks like this: <pre><Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" URIEncoding="UTF-8" redirectPort="8443" address="127.0.0.1" /></pre> [[File:Setup:Tomcat_Configuration_02.png|center|400px|Tomcat KonfigurationConfiguration 02]] Speichern und schließen Sie die Datei. Suchen Sie im Startmenü den Eintrag "Configure Tomcat" und öffnen diesenSave and close the file. Find the entry "Configure Tomcat" in the start menu and open it: [[File:Setup:Tomcat_Configuration_03.png|center|400px|Tomcat KonfigurationConfiguration 03]] Stellen Sie den "Startup type" auf "Automatic" (1) und starten Tomcat (2). Anschließend Beenden Sie die Konfigurations-Konsole (3): Set "Startup type" to "Automatic" (1) and start Tomcat (2). Then exit the configuration console (3): [[File:Setup:Tomcat_Configuration_04.png|center|400px|Tomcat KonfigurationConfiguration 04]] ==Überprüfen der Installation== Zur Überprüfung, ob Tomcat korrekt läuft öffnen Sie in einem Browser auf dem Server die Adresse Reviewing the installation== To check if Tomcat is working correctly, open the address <nowiki>http://localhost:8080/</nowiki>.<br /> Sie sollten nun die Startseite des Tomcat-Servers angezeigt bekommen: </ nowiki> in a browser on the server. <br /> You should now see the homepage of the Tomcat server: [[File:Setup:Tomcat_Check_01.png|center|400px|Tomcat Check 01]] ==Installation der Webapps== Nach erfolgreicher Installation von BlueSpice befolgen Sie bitte folgende weitere Schritte zur Installation der Webservices und Aktivierung der jeweiligen BlueSpice-Erweiterung: *[[Setup:InstallationsanleitungInstalling the web apps== After successful installation of BlueSpice, please follow the next steps to install the web services and activate the respective BlueSpice extension: *[[Setup:Installation Guide/Webservices/PDF-Export|PDF-Export]] *[[Setup:InstallationsanleitungInstallation Guide/Webservices/VisualDiff|VisualDiff]] '''(nur BlueSpice pro only)''' *[[Setup:InstallationsanleitungInstallation Guide/Webservices/LatexRenderer|LatexRenderer]] '''(nur BlueSpice pro)''' ==Nächster Schritt== Haben Sie alle Schritte erfolgreich abgeschlossen können Sie die zuvor heruntergeladene Datei nurBlueSpice pro only)''' ==Next step== If you have completed all steps successfully, you can delete the previously downloaded "apache-tomcat-9.0.16.exe" von Ihrer Festplatte löschen und zum nächsten Schritt "[[Setup:Installationsanleitung/Systemvorbereitung/Windows/Elasticsearch|Elasticsearch]]" weiter gehen.file from your hard drive and continue to the next step "[[Setup: Installation Guide/System Preparation/Windows/Elasticsearch | Elasticsearch]]" ,
Line 38: | Line 38: | ||
[[File:Setup:Tomcat_Install_04.png|center|400px|Tomcat Installation 04]] | [[File:Setup:Tomcat_Install_04.png|center|400px|Tomcat Installation 04]] | ||
− | + | Select (1) the home directory of your [[Setup: Installation Guide/System Preparation/Windows/ OpenJDK | OpenJDK Installation]] (2) and click "Next>" (3): | |
[[File:Setup:Tomcat_Install_05.png|center|400px|Tomcat Installation 05]] | [[File:Setup:Tomcat_Install_05.png|center|400px|Tomcat Installation 05]] | ||
− | + | Start the Tomcat Installation: | |
[[File:Setup:Tomcat_Install_06.png|center|400px|Tomcat Installation 06]] | [[File:Setup:Tomcat_Install_06.png|center|400px|Tomcat Installation 06]] | ||
− | + | At the end of the installation, leave both preselected checkboxes (1) and finish the setup (2) | |
[[File:Setup:Tomcat_Install_07.png|center|400px|Tomcat Installation 07]] | [[File:Setup:Tomcat_Install_07.png|center|400px|Tomcat Installation 07]] | ||
− | == | + | ==Configuring Apache Tomcat== |
− | + | Change to the installation directory of Tomcat. By default, you can find it at <code>C:\Program Files\Apache Software Foundation\Tomcat 9.0\conf</code>. | |
− | + | Open the context.xml file in a text editor and replace the one-time line | |
<pre><Context></pre> | <pre><Context></pre> | ||
− | + | with | |
<pre><Context mapperContextRootRedirectEnabled="true"></pre> | <pre><Context mapperContextRootRedirectEnabled="true"></pre> | ||
− | [[File:Setup:Tomcat_Configuration_01.png|center|400px|Tomcat | + | [[File:Setup:Tomcat_Configuration_01.png|center|400px|Tomcat Configuration 01]] |
− | + | Save and close the file. | |
− | + | In the same directory, open the file server.xml in a text editor and make sure that the complete block | |
<pre><Connector port="8080" protocol="HTTP/1.1" | <pre><Connector port="8080" protocol="HTTP/1.1" | ||
... /></pre> | ... /></pre> | ||
− | + | looks like this: | |
<pre><Connector port="8080" protocol="HTTP/1.1" | <pre><Connector port="8080" protocol="HTTP/1.1" | ||
connectionTimeout="20000" | connectionTimeout="20000" | ||
Line 72: | Line 72: | ||
address="127.0.0.1" /></pre> | address="127.0.0.1" /></pre> | ||
− | [[File:Setup:Tomcat_Configuration_02.png|center|400px|Tomcat | + | [[File:Setup:Tomcat_Configuration_02.png|center|400px|Tomcat Configuration 02]] |
− | + | Save and close the file. | |
− | + | Find the entry "Configure Tomcat" in the start menu and open it: | |
− | [[File:Setup:Tomcat_Configuration_03.png|center|400px|Tomcat | + | [[File:Setup:Tomcat_Configuration_03.png|center|400px|Tomcat Configuration 03]] |
− | + | Set "Startup type" to "Automatic" (1) and start Tomcat (2). Then exit the configuration console (3): | |
+ | [[File:Setup:Tomcat_Configuration_04.png|center|400px|Tomcat Configuration 04]] | ||
− | + | ==Reviewing the installation== | |
+ | To check if Tomcat is working correctly, open the address <nowiki>http://localhost:8080/</ nowiki> in a browser on the server. <br /> | ||
+ | You should now see the homepage of the Tomcat server: | ||
− | |||
− | |||
− | |||
[[File:Setup:Tomcat_Check_01.png|center|400px|Tomcat Check 01]] | [[File:Setup:Tomcat_Check_01.png|center|400px|Tomcat Check 01]] | ||
− | == | + | ==Installing the web apps== |
− | + | After successful installation of BlueSpice, please follow the next steps to install the web services and activate the respective BlueSpice extension: | |
+ | *[[Setup:Installation Guide/Webservices/PDF-Export|PDF-Export]] | ||
+ | *[[Setup:Installation Guide/Webservices/VisualDiff|VisualDiff]] '''(BlueSpice pro only)''' | ||
+ | *[[Setup:Installation Guide/Webservices/LatexRenderer|LatexRenderer]] '''(nurBlueSpice pro only)''' | ||
− | + | ==Next step== | |
− | + | If you have completed all steps successfully, you can delete the previously downloaded "apache-tomcat-9.0.16.exe" file from your hard drive and continue to the next step "[[Setup: Installation Guide/System Preparation/Windows/Elasticsearch | Elasticsearch]]" , | |
− | |||
− | |||
− | == | ||
− |