Just trying to figure out how to best go about doing this. I’m not fixed to AlmaLinux 9, or even AlmaLinux - but seems like the only option via yum or dnf at present is Tomcat 9 which isn’t going to work as there are significant breaking changes for code designed for Tomcat 9 vs Tomcat 10 (specifically the Java versions they support), and current code is designed to be supported on Tomcat 10.
I’m ideally looking for a way to get Tomcat 10 setup on AlmaLinux via a package manager, not manually, (which also supports xe-guest-utilities via yum epel, which only 9 supports as 10 doesn’t yet as of a recent conversation I’ve since lost but was within the last 3 months)
The joys of technology alignment across across the tech stack, constantly feels like an endless trial and error 
Hello.
The Tomcat version included in the standard AlmaLinux 9 repository is version 9, so it will be difficult to install Tomcat 10 directly using dnf / yum. The Tomcat version for RHEL 9 is also based on upstream Tomcat 9.
I think the only solution is to run Tomcat 10 in a container or prepare your own RPM.
thahks
Thanks for confirmation. I’ve been having a play around with different options. Definitely don’t want to be creating my own RPM, way too much effort for what I’m trying to achieve, and same for containers, I just don’t need that additional layer of abstraction for no added value.
Something I did conclude while researching and testing different operating systems, is that AlmaLinux 10 doesn’t support installation of xe-guest-utilities yet via yum so I discounted that.
But while researching this issue re. Tomcat, I’ve found that Ubuntu 24.04 supports Tomcat 10 installation via apt which is handy. What I did notice though is that Ubuntu 24.04 also has the challenge of not fully working with xe-guest-utilities from apt.
Turns out there is an alternative route which gets this working for both operating systems. I actually got this working with the solution I’ve set out here - Ubuntu 24.04 VMs not reporting IP addresses to XCP-NG 8.2.1 | XCP-ng and XO forum
Works for both Ubuntu 24.04 but doesn’t work for AlmaLinux10, that sounds like an XCP-ng issue though, so I’ll pick that up with them.
I’ve got at least one solution working anyhow so I’ll have a play with the Tomcat stuff now.
1 Like