Your message dated Fri, 24 Sep 2021 15:09:56 +0200
with message-id <[email protected]>
and subject line Re: Bug#960931: tomcat9 cannot deploy war files (applications) 
in sub-directories of his directory catalina_home directory (/var/lib/tomcat9) 
when tomcat9 is in virtualhost mode
has caused the Debian Bug report #960931,
regarding tomcat9 cannot deploy war files (applications) in sub-directories of 
his directory catalina_home directory (/var/lib/tomcat9) when tomcat9 is in 
virtualhost mode
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
960931: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=960931
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: tomcat9

Version: 9.0.31-1~deb10u1

Hello,

I use Jenkins application with the tomcat manager in order to deploy war files (applications) on Tomcat9.

My tomcat9 is configured in virtualhost mode (related to the official tomcat9 virtualhost documentation : https://tomcat.apache.org/tomcat-9.0-doc/virtual-hosting-howto.html).

So each virtualhost in server.xml got one webapps directory under catalina_home (/var/lib/tomcat9).

But tomcat9 cannot deploy war files (applications) because the unix user "tomcat" cannot have access read-write under /var/lib/tomcat9.

I have found the solution with adding this line :

ReadWritePaths=/var/lib/tomcat9/

under this line

ReadWritePaths=/etc/tomcat9/Catalina/

in the systemctl file service of tomcat9 /usr/lib/systemd/system/tomcat9.service

and systemctl daemon-reload

But, when an update of debian occured on tomcat9 package, i lost my modification.

Can you fix this bug?

Thanks.

Mathieu HETRU

--

Université de Lille

*Mathieu HETRU*
Responsable du bureau missions transversales

Université de Lille - Campus Cité Scientifique
Direction des Systèmes d'Information
Service Intégration / Exploitation
Cellule missions transversales

Bureau 47 - Bâtiment A3
Domaine universitaire de la Cité Scientifique
Avenue Carl Von Limé
BP 90179 59653 Villeneuve d'Ascq

Tél. :+33 (0)3 62 26 83 81 (numéro interne : 68381)

[email protected] <mailto:[email protected]> *|* www.univ-lille.fr <http://www.univ-lille.fr>
--- End Message ---
--- Begin Message ---
On Tue, 24 Nov 2020 16:49:47 +0100 Mathieu HETRU <[email protected]>
wrote:
> Thanks !
> 
> I have verified and it is ok, i can close my bug report.

Closing as requested. Thanks for the report.

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---

Reply via email to