Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 80831 invoked from network); 17 Jul 2007 20:10:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Jul 2007 20:10:21 -0000 Received: (qmail 14131 invoked by uid 500); 17 Jul 2007 20:10:04 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 13960 invoked by uid 500); 17 Jul 2007 20:10:04 -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 13949 invoked by uid 99); 17 Jul 2007 20:10:03 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jul 2007 13:10:03 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of juanignaciogarzon@gmail.com designates 209.85.132.250 as permitted sender) Received: from [209.85.132.250] (HELO an-out-0708.google.com) (209.85.132.250) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jul 2007 13:09:58 -0700 Received: by an-out-0708.google.com with SMTP id b2so410556ana for ; Tue, 17 Jul 2007 13:09:37 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=XbsmHYzTASV0u7gqB/1mibrtfXvx/FNsy7lKliLccpOVCqZPj4ebunHd7m0e0L9v/NX/Y2rJc2FPlCZRjeKRytWGe1DPJJXeNpOTEiPaeWbCEe8CoVZ/lLUHk9hWSUgn9k448cjcbFaNrA2JA3rRP8jtM4psU3Jxa+JYMRrjDEc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=UqQp+3bGtehx/9KUhMa827MR2cuMex0bsd7s/+lLt7zsWHo9hphIkG9N6UFKoEcpGnPgg6lSwBS97tRrRtlVKxs3ZSV51tZeLC2WBpdpvy+3QMtUsbRGVT2NZOVFo8vulG8UXGN39rysSPZqwJjWvBrlg4kNu4QhZQutMp5eMqM= Received: by 10.100.13.12 with SMTP id 12mr451640anm.1184702977445; Tue, 17 Jul 2007 13:09:37 -0700 (PDT) Received: by 10.90.26.5 with HTTP; Tue, 17 Jul 2007 13:09:33 -0700 (PDT) Message-ID: Date: Tue, 17 Jul 2007 17:09:34 -0300 From: "=?ISO-8859-1?Q?Juan_Ignacio_Garz=F3n?=" To: users@tomcat.apache.org Subject: Classloader question MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Hi, I'm working with Tomcat 4.1. I have a library that has to be shared between all the applications, but it has singletons that should have one instance per application. In a normal situation, each application could have the .jar in it's WEB-INF/lib directory, but there is a requirement saying that this is not possible. So, is there a way for making a .jar available to all the applications, but using each application's class loader, so that static fields are not shared between applications? Thanks in advance! --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org