Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 73330 invoked from network); 18 Jan 2011 01:42:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Jan 2011 01:42:48 -0000 Received: (qmail 8669 invoked by uid 500); 18 Jan 2011 01:42:47 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 8560 invoked by uid 500); 18 Jan 2011 01:42:47 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 8548 invoked by uid 99); 18 Jan 2011 01:42:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jan 2011 01:42:46 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kevan.miller@gmail.com designates 209.85.160.182 as permitted sender) Received: from [209.85.160.182] (HELO mail-gy0-f182.google.com) (209.85.160.182) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jan 2011 01:42:39 +0000 Received: by gyf3 with SMTP id 3so2230267gyf.13 for ; Mon, 17 Jan 2011 17:42:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id:references:to :x-mailer; bh=blWrPgpwmXdpRaM1pR27OR3mnr2fmlHGLuBrqbE00OA=; b=JCLxYszBJvPjyneMaCFENYWkek6Rp1/OusANecaFKQwNJcE7YLt5f7VY3PayibIOYo 00Us8fh92Dn129Ixs/VZPMEVUA3Zd35P50m3VPE4L5lvMCqUZYxzBGdXT77ieCINAJad ZUn92P6fnWPJecuZ9aOvtRQdwlS57vEMRLWko= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=MnW2LYlJmLu6NTBYYTpSJ/b8ypn9fFEIgy3UvsumoI7hwG22x5oW9y2+hwlRgoy3td VJbogl672Fgidwf52LdS80ncf8GLtVWW0NBJlB6v6RLhzescM/rwR94nV2yjR8VE+3uU AI5RodPtKZqh2Y5X6XwE3KpIIav9ORznEYIY4= Received: by 10.90.54.3 with SMTP id c3mr5393890aga.186.1295314938423; Mon, 17 Jan 2011 17:42:18 -0800 (PST) Received: from [10.0.1.200] (cpe-066-057-037-066.nc.res.rr.com [66.57.37.66]) by mx.google.com with ESMTPS id c30sm6190017anc.0.2011.01.17.17.42.15 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 17 Jan 2011 17:42:16 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1082) Subject: Re: svn commit: r1059851 - in /geronimo/server/branches/3.0-M2: ./ plugins/j2ee/j2ee-deployer/src/main/history/ plugins/jasper/geronimo-jasper/src/main/java/org/apache/geronimo/jasper/ plugins/openejb/openejb/src/main/history/ plugins/tomcat/geronimo-tomca... From: Kevan Miller In-Reply-To: <20110117103035.766082388900@eris.apache.org> Date: Mon, 17 Jan 2011 20:42:12 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20110117103035.766082388900@eris.apache.org> To: dev@geronimo.apache.org X-Mailer: Apple Mail (2.1082) On Jan 17, 2011, at 5:30 AM, xuhaihong@apache.org wrote: > Author: xuhaihong > Date: Mon Jan 17 10:30:34 2011 > New Revision: 1059851 >=20 > URL: http://svn.apache.org/viewvc?rev=3D1059851&view=3Drev > Log: > use tomcat 7.0.6.0-SNAPSHOT Tomcat 7.0.6 is going to require some work to integrate properly. At the = moment, we're going to see errors like the following: 2011-01-17 17:35:34,915 ERROR [[/jsp21]] Exception sending context = initialized event to listener instance of class = org.apache.geronimo.openwebbeans.WebBeansConfigurationListener =20 java.lang.IllegalStateException: On a thread without an initialized = context = =20 at = org.apache.geronimo.openwebbeans.GeronimoSingletonService.getContext(Geron= imoSingletonService.java:62) = =20 at = org.apache.geronimo.openwebbeans.GeronimoSingletonService.get(GeronimoSing= letonService.java:56) = =20 at = org.apache.geronimo.openwebbeans.GeronimoSingletonService.get(GeronimoSing= letonService.java:31) = =20 at = org.apache.webbeans.config.WebBeansFinder.getSingletonInstance(WebBeansFin= der.java:52) = =20 at = org.apache.webbeans.config.WebBeansContext.getInstance(WebBeansContext.jav= a:114) = =20 at = org.apache.geronimo.openwebbeans.WebBeansConfigurationListener.contextInit= ialized(WebBeansConfigurationListener.java:78) = =20 at = org.apache.catalina.core.StandardContext.listenerStart(StandardContext.jav= a:4521) = =20 at = org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5004)= = =20 at = org.apache.catalina.core.StandardContext$1.call(StandardContext.java:4999)= = =20 at = java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) = = =20 at java.util.concurrent.FutureTask.run(FutureTask.java:138) = = =20 at = java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.= java:886) = =20 at = java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java= :908) = =20 at java.lang.Thread.run(Thread.java:680) =20 Tomcat's new ClassLoader MemoryLeak avoidance code is using a temporary = thread to configure/initialize the event listeners for the Context. So, = things like JNDI and OpenWebBeans aren't going to work.=20 There isn't a switch that can control this Tomcat behavior. Nor do I see = anyway to hook into the Tomcat processing to hook into this processing. = Our best hope would be to add some additional integration code in our = externals code and work on pushing this into Tomcat. --kevan=