2021-11-01 17:35:13 +01:00
|
|
|
# Tomcat
|
|
|
|
|
|
|
|
Installer Tomcat :
|
|
|
|
```
|
|
|
|
apt-get install tomcat9
|
|
|
|
```
|
|
|
|
|
|
|
|
Installer le connecteur Apache2/Tomcat9 :
|
|
|
|
```
|
|
|
|
apt-get install libapache2-mod-jk
|
|
|
|
```
|
|
|
|
|
|
|
|
Configurer le connecteur :
|
|
|
|
```
|
|
|
|
TODO
|
|
|
|
```
|
2021-11-01 19:05:03 +01:00
|
|
|
|
|
|
|
Activer AJP dans Tomcat :
|
|
|
|
```
|
|
|
|
<!-- Define an AJP 1.3 Connector on port 8009 -->
|
2021-11-01 19:46:50 +01:00
|
|
|
<Connector protocol="AJP/1.3" address="::1" port="8009" redirectPort="8443" secretRequired="false" URIEncoding="UTF-8" />
|
2021-11-01 19:05:03 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
Activer mod-jk dans la configuration web :
|
|
|
|
```
|
|
|
|
#
|
|
|
|
JkMount /* ajp13_worker
|
|
|
|
</VirtualHost>
|
|
|
|
|
|
|
|
```
|