I spend a large amount of time harping about QGIS and other things up here – Never talk about Geoserver. I first “got into it” during the early OpenGeo days and slowly figured out I could run it outside of that install environment. I run it for a few clients. Geoserver 2.25.2 is out to address some security vulnerabilities and since I’ve not upgraded in a bit – I upgraded.
Geoserver has a data directory. If you don’t specify one other than the default you can wipe out the Data Directory and lose settings and data. If I’m doing something and testing geoserver – I usually don’t care. In this case I have some services running I don’t want to wipe out. In days past I would edit the web.xml and keep moving. Upgrade and then copy that down. Granted – not slow but not as fast as it could be. I hassled some of the good people in the Geoserver community and received a reply of “Hey – stick a setenv.sh file along side your catalina.sh file”.
I did. Worked great.
Which you may be reading a lot of that going “What?”. Over in the corner of my office I have a workstation running Ubuntu and on that – Tomcat9. For me it’s been the easiest way to get geoserver working beyond docker. I’m actually debating killing this setup and running docker moving forward. For now – it works great. So tonight of tomorrow I’ll be upgrading clients and getting them on a new version.