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?


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.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.