Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 9013 invoked from network); 28 Dec 2006 08:06:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Dec 2006 08:06:46 -0000 Received: (qmail 90963 invoked by uid 500); 28 Dec 2006 08:06:52 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 90890 invoked by uid 500); 28 Dec 2006 08:06:51 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 90879 invoked by uid 99); 28 Dec 2006 08:06:51 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Dec 2006 00:06:51 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [217.12.11.62] (HELO smtp008.mail.ukl.yahoo.com) (217.12.11.62) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 28 Dec 2006 00:06:41 -0800 Received: (qmail 81167 invoked from network); 28 Dec 2006 07:59:40 -0000 Received: from unknown (HELO ?192.168.1.30?) (reinhard_poetz@62.178.239.20 with plain) by smtp008.mail.ukl.yahoo.com with SMTP; 28 Dec 2006 07:59:40 -0000 X-YMail-OSG: deB2Oz4VM1nX0s0HVSfVKYkukzYY637zMtMrCbFPCN5luhZa2GbOcYIz1uYmA50lFGmaCqi0kfyTi420NXmbTQ3lVYfHzaABBPe5w85pULLQRyisomGXgaw7GrTwMre10hf3ULyu1xZaAaLcHHQk0Ec.ZuJIJaxuKIVGpCiBawxNCDSB1KNNexqtVw-- Message-ID: <45937968.5080107@apache.org> Date: Thu, 28 Dec 2006 08:59:36 +0100 From: Reinhard Poetz User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: Trunk broken? References: <45926B8B.4050606@apache.org> <45926C88.9090501@gmx.de> <45926F3C.3050106@apache.org> <4592B5D4.3090800@apache.org> <45936EEF.8030404@apache.org> In-Reply-To: <45936EEF.8030404@apache.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Carsten Ziegeler wrote: > Reinhard Poetz wrote: > >> Thanks Carsten and J�rg! After adding the >> org.springframework.web.filter.RequestContextFilter, the reloading classloader >> (works like the shielded cl) works for me again. >> >> For some reasons the use of the >> org.springframework.web.context.request.RequestContextListener caused this >> exception: >> >> java.lang.IllegalStateException: No thread-bound request found: Are you >> referring to request attributes outside of an actual web request? If you are >> actually operating within a web request and still receive this message,your code >> is probably running outside of DispatcherServlet/DispatcherPortlet: In this >> case, use RequestContextListener or RequestContextFilter to expose the current >> request. >> >> Don't know what's wrong here, but I won't investigate further because together >> with the manipulation of the classloading mechanism like the reloading >> classloader does, things are often difficult to debug at that level. >> > I guess you're still using 2.3 of the servlet spec; you have to adjust > your web.xml in order to use 2.4. Have a look at the sample web.xml in > the core-webapp module. thanks. I forgot that the change of the servlet spec also manifests in the web.xml and updating the jar is not enough. -- Reinhard P�tz Independent Consultant, Trainer & (IT)-Coach {Software Engineering, Open Source, Web Applications, Apache Cocoon} web(log): http://www.poetz.cc -------------------------------------------------------------------- ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de