cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cocoon.er...@besonet.ch
Subject Re: Problem with configurator
Date Fri, 13 Mar 2009 07:56:54 GMT
 Hi, 
 I think this is not necessary because this is done in the default
application context?
 Regards, 
 Mike
 On Thu 12/03/09 10:53 , cocoon.erard@besonet.ch sent:
  Hello, 
 I'm trying to get the configurator with cocoon 2.2 running, but
allways receive an exception while startup of jetty.
 I made the configuration as described on the homepage:
       
xmlns:configurator="http://cocoon.apache.org/schema/configurator"
   xsi:schemaLocation="
   http://www.springframework.org/schema/beans [1]
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd [2]
   http://cocoon.apache.org/schema/configurator [3]
http://cocoon.apache.org/schema/configurator/cocoon-configurator-1.0.1.xsd
[4]">
 ...
 This ends in the following exception:
 Caused by:
org.springframework.beans.factory.BeanDefinitionStoreException: Unable
to read spring configurations from classpath*:META-INF/cocoon/spring
 ; nested exception is
org.springframework.beans.factory.BeanDefinitionStoreException:
Detected recursive loading of URL [file:/C:/workspace/fox2/trunk

/fox2-web-block/target/classes/META-INF/cocoon/spring/block-application-context.xml]
- check your import definitions!
         at
org.apache.cocoon.spring.configurator.impl.AbstractSettingsElementParser.parse(AbstractSettingsElementParser.java:148)
         at
org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:69)
         at
org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1246)
         at
org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1236)
         at
org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:135
 )
         at
org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:
 92)
         at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:488)
         at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:383)
         at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:327)
         at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:295)
         at
org.apache.cocoon.spring.configurator.impl.AbstractSettingsElementParser.handleImport(AbstractSettingsElementParser.java:197)
         at
org.apache.cocoon.spring.configurator.impl.AbstractSettingsElementParser.handleBeanInclude(AbstractSettingsElementParser.java:187)
         at
org.apache.cocoon.spring.configurator.impl.AbstractSettingsElementParser.parse(AbstractSettingsElementParser.java:145)
         ... 60 more
 Caused by:
org.springframework.beans.factory.BeanDefinitionStoreException:
Detected recursive loading of URL
[file:/C:/workspace/fox2/trunk/fox2-web-b

lock/target/classes/META-INF/cocoon/spring/block-application-context.xml]
- check your import definitions!
         at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:317)
         at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:295)
         at
org.apache.cocoon.spring.configurator.impl.AbstractSettingsElementParser.handleImport(AbstractSettingsElementParser.java:197)
         at
org.apache.cocoon.spring.configurator.impl.AbstractSettingsElementParser.handleBeanInclude(AbstractSettingsElementParser.java:187)
         at
org.apache.cocoon.spring.configurator.impl.AbstractSettingsElementParser.parse(AbstractSettingsElementParser.java:145)
 Does anyone have an idea?
 Thanks
 Mike
  

Links:
------
[1] http://www.springframework.org/schema/beans
[2] http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
[3] http://cocoon.apache.org/schema/configurator
[4]
http://cocoon.apache.org/schema/configurator/cocoon-configurator-1.0.1.xsd

Mime
View raw message