The Application Pool feature of IIS allows to run several applications each separated to each own isolated processes.
Is there any equivalent in Tomcat? Or do I have to deploy Tomcat several times to achieve that functionality?
migrated from stackoverflow.com Nov 8 '12 at 15:48
This question came from our site for professional and enthusiast programmers.
Tomcat runs under one single JVM. This means that there can be one (and only one) process per single Tomcat instance.
If you deploy multiple apps into the same Tomcat, they will run within the same JVM and will share the same address space. There will be different classloaders for each webapp though.
If you need multiple processes, you need to run multiple Tomcat instances.
P.S. you can look at this SO post which addresses similar question.