On Mon, Oct 29, 2018 at 09:00:27AM +0100, Ahmed, Tarek wrote: > TLDR? Do you deploy one web application per tomcat instance or several?
We have one production host with several related webapp.s in a single Tomcat instance, and another production host with three instances of that same single product (i.e. clumps of related webapp.s) in a single Tomcat instance. It works well. In development I have at times as many as a dozen of those clumps running in a single Tomcat, alongside various other applications also in that single Tomcat. It rarely causes trouble, and in development I can always bounce it if I need to. A couple of comments: o "loaded classes may not always be unloaded cleanly, threads not closed etc." If I have this, it is either (a) an application bug, which I should fix, or (b) a buggy dependency, which I should report and complain about until fixed (or replaced). o An additional problem with multiple applications per container: ill-designed dependencies which are only configurable using system properties, when different applications need different configurations. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu
signature.asc
Description: PGP signature