Commit Graph

32 Commits

Author SHA1 Message Date
Biagio Peccerillo 39f18cdd0c Added the possibility to start Tomcat in debug mode
By renaming debug.conf.disable into debug.conf, Tomcat starts
with jpda support and can be debugged on port 5005. In order
to debug remotely, an ssh tunnel is necessary.
2025-01-30 14:39:47 +01:00
Andrea Dell'Amico ecc4c0a395
Fix a variable name. 2024-08-05 15:13:19 +02:00
Andrea Dell'Amico 7a4efeb1d6
Add the tomcat_init tag to the task that installs the default file. 2024-08-02 15:11:09 +02:00
Andrea Dell'Amico 16d952da5c
Revert the change to tomcat-start. Define java_home inside the unit. 2024-08-02 15:07:35 +02:00
Andrea Dell'Amico 891d457958
Do not run the locate-java.sh script. 2024-08-02 14:17:58 +02:00
Andrea Dell'Amico 547e22acd2
0 is a valid exit status. 2024-08-02 13:47:20 +02:00
Andrea Dell'Amico 1c2d775aa3
Do not pass the SECURITY options when Ubuntu < 22.04. 2024-08-02 13:46:52 +02:00
Andrea Dell'Amico 971c7828ff
Move the ulimit settings inside the systemd unit. 2024-08-02 13:33:24 +02:00
Andrea Dell'Amico 1a3c99b5eb
/usr/lib/systemd/system does not exist on Ubuntu 18.04. 2024-08-02 13:27:31 +02:00
Andrea Dell'Amico 8570d5ff5b
Fix the systemd unit security section. 2024-08-02 12:45:02 +02:00
Andrea Dell'Amico 0955bf4d73
Fix the check on the systemd reload. 2024-08-01 14:37:17 +02:00
Andrea Dell'Amico b20b6409ae
Fix the systemd unit file name. 2024-08-01 14:34:14 +02:00
Andrea Dell'Amico d1d03d34ae
Install the systemd unit into the system path. 2024-08-01 14:28:41 +02:00
Andrea Dell'Amico 8a8375f80f
Add a systemd unit. 2024-07-31 19:12:46 +02:00
Andrea Dell'Amico 99b8ca35d6
syntax refactoring. 2024-07-31 15:47:20 +02:00
Andrea Dell'Amico f5898f54a5
Do not use UseConcMarkSweepGC with openjdk > 11. 2024-07-22 14:24:02 +02:00
Andrea Dell'Amico 32dab25a42
Use version_compare for versions comparison. 2024-07-22 11:26:58 +02:00
Andrea Dell'Amico 7239714176
Fix a mistake in the ajp configuration. 2023-10-26 15:52:06 +02:00
Andrea Dell'Amico 93b7887f26
Some syntax cleanup. 2022-07-18 19:16:23 +02:00
Andrea Dell'Amico c13b556fc8
Fix the restart sequence. 2022-07-18 18:41:12 +02:00
Andrea Dell'Amico 2289cbc9aa
Fix a typo. 2022-07-05 16:39:12 +02:00
Andrea Dell'Amico 4e6d78da54
Customize the catalina shared loader. 2022-07-05 15:37:47 +02:00
Andrea Dell'Amico ee537413fb
Tomcat logs base directory: accessible to all. 2021-09-20 12:56:39 +02:00
Andrea Dell'Amico 7f2f3118e9 Optionally add paths to the common loader. 2021-04-13 15:30:25 +02:00
Andrea Dell'Amico 94cdecc62a Fixes #20713. Set protocolHeader="X-Forwarded-Proto". 2021-02-15 15:09:41 +01:00
Andrea Dell'Amico a80dc894f3 Add a default http port 2020-11-26 14:13:53 +01:00
Andrea Dell'Amico 060bbc2e70 Fix a typo. 2020-11-03 15:39:43 +01:00
Andrea Dell'Amico 2207a272eb Group ownership to www-data for the log directory when requested. 2020-08-06 17:30:25 +02:00
Andrea Dell'Amico d226826ce8 Disable the tomcat standalone service. 2020-07-08 14:55:36 +02:00
Andrea Dell'Amico 26b733383f The log directory must not be readable by others. 2020-06-26 18:48:36 +02:00
Andrea Dell'Amico e0d2777941 Import the old role. 2020-06-01 19:00:45 +02:00
S2I2S @ ISTI-CNR c636ad2ff9 Initial commit 2020-05-28 15:21:37 +02:00