Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 29793 invoked from network); 2 Oct 2009 23:42:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Oct 2009 23:42:39 -0000 Received: (qmail 44288 invoked by uid 500); 2 Oct 2009 23:42:36 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 44222 invoked by uid 500); 2 Oct 2009 23:42:36 -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 44206 invoked by uid 99); 2 Oct 2009 23:42:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Oct 2009 23:42:36 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bocalinda@gmail.com designates 209.85.219.211 as permitted sender) Received: from [209.85.219.211] (HELO mail-ew0-f211.google.com) (209.85.219.211) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Oct 2009 23:42:26 +0000 Received: by ewy7 with SMTP id 7so1360674ewy.41 for ; Fri, 02 Oct 2009 16:42:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=T1X3PPcb9VLkOO3xHQIBYigZHzdpQRF9b/T6YtKwyvw=; b=xtO/oveOk/P1CBrtU3xeQPVnD+uYMn51OCTjCjr7E24KF5yrBm/6hJ6Hhn33pkxSDF sI3+hH3pWeaFI24ENLlXEnoSL6VwNfGq9U8C+NprwoaXVVRQc+JFcv/PBQASX5ycp5Pg WfVIAFMvz5JXauPylVOkqQB5hN9d7GZou4w20= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=sjyTEkqZtKOCyN13G2WXxEj4sIetbwFYXVzsL+037WTKBqSTYa1iHKRAD3OcmXbxMJ nwewMvCOHnpk07Ere7S+u5aKaIzot0pbhEpIK8SlogysudPvUMWW3jQrZN03hkSdmfST Jfs1Au2/VFRfykggfxQ+jNfRkWgqs/tyIj4IM= MIME-Version: 1.0 Received: by 10.211.171.12 with SMTP id y12mr186235ebo.51.1254526570874; Fri, 02 Oct 2009 16:36:10 -0700 (PDT) In-Reply-To: <99C8B2929B39C24493377AC7A121E21F84054C1363@USEA-EXCH8.na.uis.unisys.com> References: <4AC628DF.10206@hanik.com> <4AC62F7F.1040302@hanik.com> <99C8B2929B39C24493377AC7A121E21F84054C1175@USEA-EXCH8.na.uis.unisys.com> <99C8B2929B39C24493377AC7A121E21F84054C134E@USEA-EXCH8.na.uis.unisys.com> <99C8B2929B39C24493377AC7A121E21F84054C1363@USEA-EXCH8.na.uis.unisys.com> Date: Sat, 3 Oct 2009 01:36:10 +0200 Message-ID: Subject: Re: Connection between ListenerStart and clustering From: Bocalinda To: Tomcat Users List Content-Type: multipart/alternative; boundary=001636d347849e46b30474fc3aef X-Virus-Checked: Checked by ClamAV on apache.org --001636d347849e46b30474fc3aef Content-Type: text/plain; charset=ISO-8859-1 > Different messages arriving in a different order, for one. Classes are > only loaded on demand, not simply because they exist in a defined library. > > > I would suppose the classloading ritual is a serial process, > > instead of a parallel process. > > Nope. In a multi-threaded environment, you cannot predict who's going to > reference what class first, unless you have extremely tight control over > event ordering. There is a very, very small period when there's a global > lock set during classloading, but other than that, it's pretty much a > free-for-all. > > Aha. Stupid of me. I thought all classes were loaded at startup, instead of at invocation. > What I'm saying is that I don't think that any class in > > common/lib references to spring. > > You keep referring to common/lib but stated earlier that you're running on > 6.0.20, and common/lib does not exist on that level; have you modified > conf/catalina.properties to utilize that directory? If so, why, and what > happens if you keep things as they were intended? > > My bad. I just meant catalina_home/lib. I currently don't have access to the server to check catalina_home/lib contents, but I do have the webapp.war here. So I did a grep for the ContextLoaderListener and it turns out there are 2 libraries in my web-inf/lib containing a class definition for that: spring-2.5.6.jar and spring-web-2.5.6.jar Maybe one is interfering with the other --001636d347849e46b30474fc3aef--