You are not logged in.
Hi,
I deploy my web application as ROOT.war in tomcat9.
However, with every update of tomcat9 the directory
/var/lib/tomcat9/webappsand all web applications contained therein are also redeployed, which means that my web application is overwritten.
Under CentOS, this problem was solved by excluding the ROOT and sample web applications in a separate RPM package.
Does anyone have the same problem under Archlinux and if so, how was it solved?
Thanks and regards
Klaus.
Last edited by tachtler (2024-03-05 09:57:59)
Offline
I'd deploy my actual application under it's actual name and instead reconfigure the Context path root to point there.
If you're dead set in overriding the ROOT path instead: https://wiki.archlinux.org/title/Pacman … _to_system
Offline
Hi V1del,
thank you for the link, I will try this good idea!
Greetings
Klaus.
Offline
Hi V1del,
configure the following parameter inside
/etc/pacman.confwill solve my little problem:
[options]
...
NoExtract=var/lib/tomcat9/webapps/ROOT/*
...Thank you again!
Klaus.
Offline