To my knowledge, it is not possible to deploy Mendix 10 to tomcat/jBoss. Older versions of Mendix have had some Windows/IIS support and Linux support. The modern approach is to deploy to a Kubernetes cluster or use one of the private deployment options. I'll include some links below to documentation.
Deployment | Mendix Documentation
Private Mendix Platform Guide | Mendix Documentation