Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 32312 invoked from network); 17 Mar 2008 15:41:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Mar 2008 15:41:09 -0000 Received: (qmail 18175 invoked by uid 500); 17 Mar 2008 15:41:06 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 18109 invoked by uid 500); 17 Mar 2008 15:41:06 -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 18098 invoked by uid 99); 17 Mar 2008 15:41:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Mar 2008 08:41:05 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Mar 2008 15:40:36 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 403C2234C099 for ; Mon, 17 Mar 2008 08:39:24 -0700 (PDT) Message-ID: <307330360.1205768364248.JavaMail.jira@brutus> Date: Mon, 17 Mar 2008 08:39:24 -0700 (PDT) From: "Grzegorz Kossakowski (JIRA)" To: dev@cocoon.apache.org Subject: [jira] Updated: (COCOON-2176) Remove dependency on CocoonSourceResolver from Servlet Service Framework In-Reply-To: <1857721398.1205768124638.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COCOON-2176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Grzegorz Kossakowski updated COCOON-2176: ----------------------------------------- Attachment: COCOON-2176-Webapp.tar.gz Added test-case for this problem. Just enter main directory and call mvn package jetty:run. You will see following exception: 2008-03-17 16:31:20.728::WARN: Nested in org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cocoon.servletservice.demo1.servlet': Cannot resolve reference to bean 'org.apache.cocoon.servletservice.demo2.servlet' while setting bean property 'connections' with key [TypedStringValue: value [demo2], target type [null]]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cocoon.servletservice.demo2.servlet': Invocation of init method failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'org.apache.excalibur.source.SourceResolver' is defined: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'org.apache.excalibur.source.SourceResolver' is defined at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:378) [...] > Remove dependency on CocoonSourceResolver from Servlet Service Framework > ------------------------------------------------------------------------ > > Key: COCOON-2176 > URL: https://issues.apache.org/jira/browse/COCOON-2176 > Project: Cocoon > Issue Type: Task > Components: - Servlet service framework > Reporter: Grzegorz Kossakowski > Attachments: COCOON-2176-Webapp.tar.gz > > > The Servlet Service Framework depends on CocoonSourceResolver class from cocoon-core. CocoonSourceResolver class is used to resolve paths in context-path using custom source implementation, see ServletFactoryBean class for details. > The SSF is meant to be Cocoon-independent subproject so this dependency must be removed as soon as possible. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.