Return-Path: X-Original-To: apmail-tomcat-dev-archive@www.apache.org Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 70283D4B7 for ; Fri, 19 Oct 2012 06:52:12 +0000 (UTC) Received: (qmail 72664 invoked by uid 500); 19 Oct 2012 06:52:11 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 72470 invoked by uid 500); 19 Oct 2012 06:52:11 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 71064 invoked by uid 99); 19 Oct 2012 06:52:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Oct 2012 06:52:07 +0000 X-ASF-Spam-Status: No, hits=0.2 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of elgs1980@hotmail.com designates 65.55.116.111 as permitted sender) Received: from [65.55.116.111] (HELO blu0-omc3-s36.blu0.hotmail.com) (65.55.116.111) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Oct 2012 06:51:58 +0000 Received: from BLU0-SMTP130 ([65.55.116.74]) by blu0-omc3-s36.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 18 Oct 2012 23:51:37 -0700 X-Originating-IP: [180.157.86.128] X-EIP: [/XyXiYD2+4kDXFMkiHIonMbme4AYu53j] X-Originating-Email: [elgs1980@hotmail.com] Message-ID: Received: from [192.168.0.101] ([180.157.86.128]) by BLU0-SMTP130.blu0.hotmail.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Thu, 18 Oct 2012 23:51:37 -0700 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: Reloading WebappClassLoader From: Elgs Chen In-Reply-To: Date: Fri, 19 Oct 2012 14:51:33 +0800 Content-Transfer-Encoding: quoted-printable References: To: "Tomcat Developers List" X-Mailer: Apple Mail (2.1499) X-OriginalArrivalTime: 19 Oct 2012 06:51:37.0332 (UTC) FILETIME=[2F5C4B40:01CDADC6] X-Virus-Checked: Checked by ClamAV on apache.org Hi Mark,=20 Have you had a chance to look at this question? Any insight will be = greatly appreciated. Best regards, Elgs On Oct 17, 2012, at 4:52 PM, Elgs Chen wrote: > Dear Tomcat Developers, >=20 > I'm using embedded tomcat 7 on my current project. I'm wondering if = there's any API available that I can reload the WebappClassLoader by = ditching the webapp class loader that loads the jars and classes in = /WEB-INF/lib and /WEB-INF/classes, and create a new one that loads the = jars and classes from exactly the same location. I'm hoping the webapp = class loader can be manually reloaded as opposed to the auto-redeploy. = If this is possible, it will allow my users to upload their plugins and = decide when to apply their plugins to make them effective. >=20 > Thanks, > Elgs > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org > For additional commands, e-mail: dev-help@tomcat.apache.org >=20 >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org