Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 30752 invoked from network); 12 Feb 2009 12:25:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Feb 2009 12:25:32 -0000 Received: (qmail 83514 invoked by uid 500); 12 Feb 2009 12:25:31 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 83419 invoked by uid 500); 12 Feb 2009 12:25:31 -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 83410 invoked by uid 99); 12 Feb 2009 12:25:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Feb 2009 04:25:31 -0800 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=PLING_QUERY,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [80.237.158.89] (HELO sester.sidebysite.de) (80.237.158.89) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Feb 2009 12:25:22 +0000 Received: from xdsl-78-34-64-102.netcologne.de ([78.34.64.102] helo=[192.168.23.22]) by sester.sidebysite.de with esmtpsa (TLS-1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.63) (envelope-from ) id 1LXavx-0006vJ-V6 for dev@cocoon.apache.org; Thu, 12 Feb 2009 13:44:52 +0100 Message-Id: From: Benjamin Boksa To: dev@cocoon.apache.org In-Reply-To: <4993F8D6.7050802@mobilebox.pl> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Subject: Re: Bug in Cocoon Spring Configurator 2.0 (!?) Date: Thu, 12 Feb 2009 13:24:58 +0100 References: <4993F8D6.7050802@mobilebox.pl> X-Mailer: Apple Mail (2.930.3) X-Spam-Score: -4.0 (----) X-Spam-Report: Spam detection software, running on the system "ds80-237-158-89.dedicated.hosteurope.de", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi Leszek, thanks you very much for looking into my problem: > I have run your test scenario. Please use the following statement: > >> >> >> >> > > using classpath*: ensures that spring will scan all available jars > for that path and aggregate the results. [...] Content analysis details: (-4.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.8 ALL_TRUSTED Passed through trusted hosts only via SMTP 1.4 PLING_QUERY Subject has exclamation mark and question mark -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] -1.0 AWL AWL: From: address is in the auto white-list X-Virus-Checked: Checked by ClamAV on apache.org Hi Leszek, thanks you very much for looking into my problem: > I have run your test scenario. Please use the following statement: > >> >> >> >> > > using classpath*: ensures that spring will scan all available jars > for that path and aggregate the results. That (scanning all jars) actually was one of the things I tried to avoid (as this might cause problems with the same directories existing in two jars). Not very likely, I know, but avoidable as the configurator test-case shows. Nevertheless I applied your changes and ran into the same problem: > Caused by: org.springframework.beans.factory.BeanCreationException: > Error creating bean with name 'foo.test.service': Invocation of init > method failed; nested exception is > org.springframework.beans.factory.NoSuchBeanDefinitionException: No > bean named 'org.apache.excalibur.source.SourceResolver' is defined After doing some further investigations on that point I found out (mvn dependency:tree) the cocoon-core 2.2.0 still uses the (old) 1.0.2 configurator which does not seem to support the include-properties setting (I could not find any documentation on that point and I do not know how to get the sources of the 1.0.2 artifact :-( ). Is there any recommended dependeny/dependency-exclusion setup to make cocoon-core utilize the new (2.0.0) spring-configurator? I have tried several dependency-configurations but was not able to find a working one. I would be really glad for any help on that point - as you can image I am quite clueless at the moment. Thanks in advance for any information Benjamin