Hi Marc,
I remember there were problem with a past release of BaseX and Tomcat. Which version of BaseX are you using?
Best, Christian
On Sun, Apr 3, 2022 at 10:45 PM Marc Balston mcbalston@yahoo.com wrote:
Hello,
I've been successfully running BaseX on Amazon AWS using Tomcat 8.5, but I've been looking to upgrade my server to Tomcat 10.0.2. However, I've run into an issue: BaseX does not startup and from the logs the cause appears to be a missing class: java.lang.NoClassDefFoundError: javax/servlet/http/HttpSessionListener
I believe this is because there was a change between Tomcat 9.x and Tomcat 10 which led to a renaming of the javax.* package to jakata.* (related to a change in the servlet API version) see here for a discussion: https://stackoverflow.com/questions/66711660/tomcat-10-x-throws-java-lang-no...
Is my understanding correct and is this a known issue? If it is a genuine incompatibility, it would be useful to mention this in the documentation (Web Application - BaseX Documentation)
Thanks Marc
Marc Balston