Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question

migrated from stackoverflow.com Nov 8 '12 at 15:48

This question came from our site for professional and enthusiast programmers.

add comment

1 Answer 1

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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