Multiple JVMS invite big problems..annotation and or Generic classes developed under JVM6 won't backport to 5 If on the other hand you are able to use common JVM and common TC you can bulletproof your webapps with Clustering http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html This would ensure all webapps would be replicated in a TC Cluster If you are designing 2 or more webapps will never interact or use common libraries and talk to completely separate DBs then segregate the more distinct webapps to 2 separate TC clusters
Martin ______________________________________________ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Wed, 20 May 2009 22:30:00 +0530 > Subject: enterprise tomcat hosting, architecture. How will u do it? > From: subscribe2li...@gmail.com > To: users@tomcat.apache.org > > Hi List, > > My team is creating a new tomcat hosting environment in our > organization. And we are looking for some suggestion & possible > gotchas here. We plan to keep it as simple as possible & easy to > maintain. At the same time it should be flexible as it will support > multiple applications, multiple JVMs, each app very different from > each other. > > The web apps will be hosted for intranet only. The environment is on > RHEL v5, Apache v2.2, Tomcat v6, Sun JDK 1.6 & 1.5. > > We are planning to host multiple instances of Tomcat JVMs, with one > JVM per app. Each JVM with different CATALINA_BASE and different > ports. > > E.g. > CATALINA_BASE=/data/apps/server1 > CATALINA_BASE=/data/apps/server2 > CATALINA_BASE=/data/apps/server3 > CATALINA_HOME=/data/installs/apache-tomcat-6.0.18 > > We are planning to use default appbase and use webapps as directory > where users will put in their war files. The data source information > should be in the war file itself. And most of the jar's, extra > configuration should be built into the war file. The main criteria > being that we would like to keep the installation as clean as > possible. > > The production environment is going to have 4 app servers & 4 web > servers. We do not plan to use clustering service, but will load > balance it via Apache's mod_proxy & F5 Big IP loadbalancer > > Pls advise, how will you architect this. > > --DW > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > _________________________________________________________________ Insert movie times and more without leaving Hotmail®. http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutorial_QuickAdd1_052009