Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 277EEFA58 for ; Thu, 18 Apr 2013 13:38:18 +0000 (UTC) Received: (qmail 44895 invoked by uid 500); 18 Apr 2013 13:38:14 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 44533 invoked by uid 500); 18 Apr 2013 13:38:14 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 44491 invoked by uid 99); 18 Apr 2013 13:38:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Apr 2013 13:38:12 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [66.219.55.137] (HELO mail.polydyne.com) (66.219.55.137) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Apr 2013 13:38:08 +0000 Received: from Unknown [10.1.1.19] by mail.polydyne.com - Websense Email Security (7.2.0); Thu, 18 Apr 2013 08:44:18 -0500 Received: from POSTOFFICE02.polydyne.com ([::1]) by POSTOFFICE02.polydyne.com ([::1]) with mapi id 14.01.0438.000; Thu, 18 Apr 2013 08:37:41 -0500 From: Jeffrey Janner To: 'Tomcat Users List' Subject: RE: multi-tenant web app Thread-Topic: multi-tenant web app Thread-Index: AQHON2zvGTj3CP6SFkelgG/C3VoCxJjb1lEAgAAuSxA= Date: Thu, 18 Apr 2013 13:37:40 +0000 Message-ID: <7215BA462D00D343B2837F9113F0131F0146F20A57@POSTOFFICE02.polydyne.com> References: <5167EB36.1030300@mailarchiva.com> <51F07376-B231-4F34-AA1C-C84416E0ABD5@inxmail.de> In-Reply-To: <51F07376-B231-4F34-AA1C-C84416E0ABD5@inxmail.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.1.1.27] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-SEF-7853D99-ADF1-478E-8894-213D316B8FFA: 1 X-SEF-Processed: 7_2_0_00504__2013_04_18_08_44_19 X-Virus-Checked: Checked by ClamAV on apache.org > -----Original Message----- > From: Rainer Frey [mailto:rainer.frey@inxmail.de] > Sent: Thursday, April 18, 2013 12:51 AM > To: Tomcat Users List > Subject: Re: multi-tenant web app >=20 >=20 > On 12.04.2013, at 13:08, Jamie wrote: >=20 > > Greetings! > > > > I would like some advice with regards to deploying a web app in a > multi-tenant scenario. A while back, we had a few cloud service > providers ask us if they could host our web app as a service. Under > pressure to come with a quick solution, we responded by implementing a > manager like application (much like the Tomcat manager app), that could > deploy additional web apps by copying the contents of our WAR file to a > new directory under web apps . >=20 > Here's a real world example of doing this, by JFRog regarding their > Artifactory SAAS. Spoiler: the crucial point is putting as many > dependencies as possible into the shared classloader (where "possible" > is not as easy as it sounds: >=20 > http://www.youtube.com/watch?v=3DtE3eo0CuQCc >=20 > Rainer Rainer,=20 That's a very long video to sit through, but it looks interesting. Any cha= nce someone's summarized it somewhere? Jeff --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org