I try so many things and troubleshooting an issue like this is extremely time-consuming already. To document every single thing I try is too much, I just don’t have time (I’m so overloaded as it is), so I’ll try to add details as I can, but I can’t always provide more detailed answers. Even just trying to provide a well thought out response to @vmassol took me 30 minutes and doesn’t document half of what I probably need to provide.
The issue seems to be that there is very little experience with XWiki running on Apache Tomcat on Windows. Take the inability for anyone to tell us how to get the logs for XWiki. How many times have I been asked to provide logs, but nobody seems to know how to do it on Windows or can tell me how to do it. So we may just have to start looking for other options for our Wiki. We work to get the platform stable, and then there’s some whole new problem that is extremely time-consuming to resolve. We love the product, but maintaining it at times seems beyond our ability (time allowing).
None of those solutions on either of the pages are even remotely clear to me on how to implement them. For example, tried this:
Where do I set CATALINA_OPTS? This is Windows so we don’t use catalina.sh - there is a catalina.bat, but I don’t see how to set variables in that batch file (or if that is even used since we are running Tomcat as a service).